@Test
public void shouldReturnClassLevelCustomServiceComponent() throws NoSuchFieldException {

    assertThat(componentNameExtractor.componentFrom(injectionPointWith(
            CustomServiceClassLevelAnnotation.class.getDeclaredMethods()[0])),
            equalTo("CUSTOM_SERVICE_NAME"));
}