@Test
public void shouldReturnClassLevelComponent() throws NoSuchFieldException {

    assertThat(componentNameExtractor.componentFrom(injectionPointWith(
            ServiceComponentClassLevelAnnotation.class.getDeclaredField(FIELD_NAME))),
            equalTo("COMMAND_HANDLER"));
}