public void testGetServiceNotVisibleToModule()
{
RegistryInfrastructureImpl rf = new RegistryInfrastructureImpl(null, null);
MockControl spc = newControl(ServicePoint.class);
ServicePoint sp = (ServicePoint) spc.getMock();
ModuleImpl m = new ModuleImpl();
m.setModuleId("zip.zap.Zoom");
// Training
sp.getExtensionPointId();
spc.setReturnValue("foo.bar.Baz");
sp.getServiceInterfaceClassName();
spc.setReturnValue(Runnable.class.getName());
sp.visibleToModule(m);
spc.setReturnValue(false);
replayControls();
rf.addServicePoint(sp);