(no commit message)
[utils] / system / general / src / test / java / org / wamblee / system / SystemAssemblerTest.java
index 60d1b587007387dc710ef1e56cdfe0b32b8f04b7..70558250b547d1b4bfdc92b7c56c0e61cbdbada2 100644 (file)
@@ -23,6 +23,12 @@ public class SystemAssemblerTest extends TestCase {
                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() {