Converters { public static void registerConverters(ConverterRegistry registry) { SecondsConverters.registerConverters(registry); DurationConverters.registerConverters(registry); } private  Converters(); static void registerConverters(ConverterRegistry registry);  }
@Test public void testConvert() { DefaultConversionService registry = new DefaultConversionService(); Converters.registerConverters(registry); Object res = registry.convert(from, targetClass); assertEquals(expected, res); }