Пример #1
0
 public void testGetContainersOne() throws Exception {
   IContainer[] c = createContainers(1);
   assertNotNull(c);
   IContainer[] containers = containerManager.getAllContainers();
   assertNotNull(containers);
   // assertTrue(containers.length == 1);
 }
Пример #2
0
 public void testClearContainers() throws Exception {
   IContainer[] c = createContainers(10);
   assertNotNull(c);
   containerManager.removeAllContainers();
   IContainer[] cs = containerManager.getAllContainers();
   assertTrue(cs != null);
   assertTrue(cs.length == 0);
 }