JavaTypeMappingImpl implements ResultSetMapping<T> { @Override public T parse(String s) { return stringMapper.apply(s); } JavaTypeMappingImpl(
            Class<T> clazz,
            String resultSetMethodName,
            Function<String, ? extends T> stringMapper,
            LongFunction<? extends T> longMapper); @Override Class<T> getJavaClass(); @Override String getResultSetMethodName(Dbms dbms); @Override T parse(String s); @Override T parse(long l); @Override String toString();  }
@Test void parse() { final String testString = "test"; final long testLong = 1L; assertEquals(testString, instance.parse(testString)); assertEquals(Long.toString(testLong), instance.parse(testLong)); }