}
protected <T> T cycleGenericObject(final Class<T> clazz, final T object) {
s_logger.info("object {}", object);
final FudgeSerializer fudgeSerializationContext = new FudgeSerializer(getFudgeContext());
final FudgeDeserializer fudgeDeserializationContext = new FudgeDeserializer(getFudgeContext());
final MutableFudgeMsg messageIn = fudgeSerializationContext.newMessage();
fudgeSerializationContext.addToMessageWithClassHeaders(messageIn, "test", null, object, clazz);
s_logger.info("message {}", messageIn);
final FudgeMsg messageOut = cycleMessage(messageIn);
s_logger.info("message {}", messageOut);
final T newObject = fudgeDeserializationContext.fieldValueToObject(clazz, messageOut.getByName("test"));
assertNotNull(newObject);
s_logger.info("object {}", newObject);
assertTrue(clazz.isAssignableFrom(newObject.getClass()));
return newObject;
}