@Test
void convertToType()
{

    Type simpleType = ComponentRole.class;
    assertEquals(simpleType,
        this.converterManager.convert(Type.class, "org.xwiki.component.descriptor.ComponentRole"));
    Type genericsType = new DefaultParameterizedType(null, ComponentRole.class, String.class);
    assertEquals(genericsType, this.converterManager.convert(Type.class,
        "org.xwiki.component.descriptor.ComponentRole<java.lang.String>"));
}