MarshalledObject val = new MarshalledObject("abc", "", "", "");
binding.objectToData(val, buffer);
assertEquals(val.expectedDataLength(), buffer.getDataLength());
Object result = binding.dataToObject(buffer);
assertTrue(result instanceof MarshalledObject);
val = (MarshalledObject) result;
assertEquals("abc", val.getData());
}