buffer.flip();
DeserializationContext dc = new DeserializationContext();
Object object = dc.deserialize(buffer);
assertNotNull("Object was null", object);
assertTrue("Object is not a 'PrivateObjectPojo'", object instanceof PrivateObjectPojo);
PrivateObjectPojo result = (PrivateObjectPojo)object;
Pojo pojo = result.getPojo();
assertNotNull("Field was null", pojo);
assertEquals("Value doesn't match", TEST_VALUE, pojo.getValue());
}