_object = new ConfiguredObjectRecord(UUIDGenerator.generateRandomUUID(), DUMMY_TYPE_STRING, DUMMY_ATTRIBUTES_STRING);
}
public void testObjectToEntryAndEntryToObject()
{
TupleOutput tupleOutput = new TupleOutput();
_configuredObjectBinding.objectToEntry(_object, tupleOutput);
byte[] entryAsBytes = tupleOutput.getBufferBytes();
TupleInput tupleInput = new TupleInput(entryAsBytes);
ConfiguredObjectRecord storedObject = _configuredObjectBinding.entryToObject(tupleInput);
assertEquals("Unexpected attributes", DUMMY_ATTRIBUTES_STRING, storedObject.getAttributes());
assertEquals("Unexpected type", DUMMY_TYPE_STRING, storedObject.getType());