@Test
void singletonAnnotationForComponent()
{

    ComponentDescriptorFactory factory = new ComponentDescriptorFactory();
    List<ComponentDescriptor<SingletonImpl>> descriptors =
        factory.createComponentDescriptors(SingletonImpl.class, NonGenericRole.class);
    assertEquals(1, descriptors.size());
    assertEquals(ComponentInstantiationStrategy.SINGLETON, descriptors.get(0).getInstantiationStrategy());
}