@Test
void findComponentRoleTypesWithGenericRoleAndNonGenericComponent()
{

    Set<Type> types = this.loader.findComponentRoleTypes(NonGenericComponent.class);
    assertEquals(1, types.size());
    assertEquals(GenericRole.class, types.iterator().next());
}