@Test
void multipleRolesForComponent()
{

    ComponentDescriptorFactory factory = new ComponentDescriptorFactory();
    List<ComponentDescriptor<MultipleRolesImpl>> descriptors =
        factory.createComponentDescriptors(MultipleRolesImpl.class, NonGenericRole.class);
    assertEquals(2, descriptors.size());
    assertEquals("hint1", descriptors.get(0).getRoleHint());
    assertEquals("hint2", descriptors.get(1).getRoleHint());
}