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