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