public void testFailure()
{
Location l = newLocation();
EnhancementOperation op = newOp();
InjectSpecification is = newInjectSpecification("myProperty", "object", "service:Foo", l);
InjectEnhancementWorker worker = newMock(InjectEnhancementWorker.class);
Map map = newMap("object", worker);
IComponentSpecification spec = newSpec(is);