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