Service[] appServices = environment.getRunningServices();
assertEquals(2, appServices.length);
assertEquals(2, _registry.listAllServices().length);
+
+ environment.stop("", _registry);
+ assertEquals(0, _registry.listAllServices().length);
+
+ application.stop("", _registry);
+ assertEquals(0, _registry.listAllServices().length);
}
public void testApplicationEnvironment() {