Location l = newLocation();
MockControl modulec = newControl(Module.class);
Module module = (Module) modulec.getMock();
ModuleDefinition moduleDef = createModuleDefinition("foo");
ServicePointDefinitionImpl definition = new ServicePointDefinitionImpl(moduleDef, "bar", l, Visibility.PUBLIC, "java.util.List");
definition.addImplementation(new ImplementationDefinitionImpl(moduleDef, l, null, "fred", true));
ServicePointImpl sp = new ServicePointImpl(module, definition);
Object service = new ArrayList();