public void testSuperclassSerializer() {
Generator gen = new Generator();
Serializer serializer = gen.getSerializer(SubPojo.class);
assertNotNull("Serializer was null", serializer);
SubPojo pojo = new SubPojo(TEST_VALUE, TEST_SUBVALUE);
ByteBuffer buffer = ByteBuffer.allocate(1024);
serializer.serializeInstanceInfo(pojo, buffer, null);
serializer.serialize(pojo, buffer, null);
buffer.flip();
int val = buffer.getInt();