StringConverter { @SuppressWarnings("unused") protected Object customConvertValue(String str, Class<?> targetType, ConverterContext context) { return OBJECT_NO_CONVERSION; }  Object[] convert(String data, boolean isVarargs, Class<?>[] parameterTypes, ConverterContext context, int rowIdx);  }
@Test public void testCustomConvertShouldByDefaultReturnObjectNoConversion() { String data = "2016-03-11"; Class<?> parameterType = Date.class; Object result = underTest.customConvertValue(data, parameterType, context); assertThat(result).isEqualTo(StringConverter.OBJECT_NO_CONVERSION); }