MarshalledObject val = new MarshalledObject("abc", "", "", "");
binding.objectToEntry(val, buffer);
assertEquals(val.expectedDataLength(), buffer.getSize());
Object result = binding.entryToObject(buffer);
assertTrue(result instanceof MarshalledObject);
val = (MarshalledObject) result;
assertEquals("abc", val.getData());
}