CustomConverterContainer { public void setConverters(List<CustomConverterDescription> converters) { if (converters == null) { throw new NullPointerException("Converters can not be null!"); } this.converters = converters; }  List<CustomConverterDescription> getConverters(); void setConverters(List<CustomConverterDescription> converters); void addConverter(CustomConverterDescription converter); Class getCustomConverter(Class<?> srcClass, Class<?> destClass, Cache converterTypeCache); Class findConverter(Class src, Class dest); @Override String toString();  }
@Test public void testSetConverters() { CustomConverterDescription description = new CustomConverterDescription(); converters.add(description); ccc.setConverters(converters); assertNotNull(ccc.getConverters()); assertTrue(ccc.getConverters().size() == converters.size()); assertEquals(ccc.getConverters().get(0), converters.get(0)); }