ReadOnlyDomainAutomaticListTypeConverter extends AutomaticListTypeConverter { @Override public boolean canConvert(Type realToType, Type realDomainType) { return false; } ReadOnlyDomainAutomaticListTypeConverter();  ReadOnlyDomainAutomaticListTypeConverter(String name); @Override boolean canConvert(Type realToType, Type realDomainType); @Override Object doConvertOne(JTransfo jTransfo, Object toObject, Class<?> domainObjectType, String... tags);  }
@Test public void testCanConvert() throws Exception { assertThat(listTypeConverter.canConvert(List.class, List.class)).isFalse(); }