@Test
public void inject_annotation_bypasses_resources()
{
ServiceBuilderMethodFixture fixture = new ServiceBuilderMethodFixture();
Method method = findMethod(fixture, "build_with_forced_injection");
ServiceBuilderResources resources = mockServiceBuilderResources(tracker);
Logger logger = mockLogger();
fixture.expectedString = "Injected";
fixture.fie = mockFieService();
trainForConstructor(resources, logger);
train_getModuleBuilder(resources, fixture);
ignoreDebug(logger);
// This simulates what the real stack does when it sees @Value("Injected")
expect(resources.getObject(eq(String.class), isA(AnnotationProvider.class))).andReturn("Injected");
replay();
ObjectCreator sc = new ServiceBuilderMethodInvoker(resources, CREATOR_DESCRIPTION, method);