// also tests TupleBinding since TupleMarshalledBinding extends it
public void testTupleMarshalledBinding() {
EntryBinding binding =
new TupleMarshalledBinding(MarshalledObject.class);
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());
}