InjectSpecification spec = newSpec("wilma", "service:betty", l);
EnhancementOperation op = newMock(EnhancementOperation.class);
InjectedValueProvider p = newMock(InjectedValueProvider.class);
expect(op.getPropertyType("wilma")).andReturn(IEngineService.class);
op.claimReadonlyProperty("wilma");
expect(p.obtainValue("service:betty", l)).andReturn(injectedValue);
expect(op.addInjectedField("_$wilma", IEngineService.class, injectedValue)).andReturn("_$wilma");
op.addMethod(Modifier.PUBLIC, new MethodSignature(IEngineService.class, "getWilma", null,
null), "return _$wilma;", l);