@Test
public void looksUpInstanceForInjectAnnotatedNamedField() throws Exception {

    DependencySupplierImpl dependencySupplier = spy(createDependencySupplier("foo", -1));
    java.lang.reflect.Field field = SomeType.class.getDeclaredField("annotatedAndNamed");
    FieldInjector fieldInjector = createFieldInjector(field);
    dependencySupplier.getInstance(fieldInjector);
    verify(dependencySupplier).getInstance(fieldInjector);
}