@Test
public void shouldReturnClassLevelDirectAdaptorComponent() throws NoSuchFieldException {

    assertThat(componentNameExtractor.componentFrom(injectionPointWith(
            DirectAdapterAnnotation.class.getDeclaredField(FIELD_NAME))),
            equalTo("QUERY_API"));
}