@Test
public void createsProducerForSetOfTypeThatHasStringConstructor() throws Exception {

    TypeProducer typeProducer =
            typeProducerFactory
                    .createTypeProducer(Set.class, ParameterizedTypeImpl.newParameterizedType(Set.class, StringConstructorClass.class));
    assertEquals(CollectionStringConstructorProducer.class, typeProducer.getClass());
}