public int add(Object o) {
        HollowTypeMapper typeMapper = getTypeMapper(o.getClass(), null, null);
        return typeMapper.write(o);
    }
@Test
    public void testFinalAssignedOrdinal() {
        HollowObjectMapper mapper = new HollowObjectMapper(writeStateEngine);
        TypeWithFinalAssignedOrdinal o = new TypeWithFinalAssignedOrdinal();
        mapper.add(o);
        Assert.assertNotEquals(HollowConstants.ORDINAL_NONE, o.__assigned_ordinal);
    }