NoConversionTypeConverter implements TypeConverter<Object, Object> { @Override public Object convert(Object object, SyntheticField domainField, Object domainObject, String... tags) throws JTransfoException { return object; }  @Override boolean canConvert(Type realToType, Type realDomainType); @Override Object convert(Object object, SyntheticField domainField, Object domainObject, String... tags); @Override Object reverse(Object object, SyntheticField toField, Object toObject, String... tags);  }
@Test public void testConvert() throws Exception { Object obj = new Object(); assertThat(typeConverter.convert(obj, field, null)).isEqualTo(obj); }