Assert.assertEquals(1, opstring.getServices().length);
testManager.waitForDeployment(mgr);
ServiceBeanInstance[] instances =
cybernode.getServiceBeanInstances(opstring.getServices()[0]);
Assert.assertEquals(1, instances.length);
Simple simple = (Simple)instances[0].getService();
Assert.assertEquals("Hello visitor : 1", simple.hello("hi"));
mgr.decrement(instances[0], true, true);
ServiceMonitor<Simple> sMon =
new ServiceMonitor<Simple>(testManager.getServiceDiscoveryManager(), Simple.class);
sMon.waitFor(0);
instances =