(no commit message)
authorerik <erik@77661180-640e-0410-b3a8-9f9b13e6d0e0>
Thu, 10 Apr 2008 21:56:48 +0000 (21:56 +0000)
committererik <erik@77661180-640e-0410-b3a8-9f9b13e6d0e0>
Thu, 10 Apr 2008 21:56:48 +0000 (21:56 +0000)
system/general/src/main/java/org/wamblee/system/core/Container.java
system/general/src/test/java/org/wamblee/system/core/ContainerTest.java

index b7ee4e60c6ddcb61f0fed6c52b911cfb37fb7998..8436ebca4174ba7090966756a5b6b2e5b8923ea5 100644 (file)
@@ -18,9 +18,7 @@ package org.wamblee.system.core;
 import java.util.ArrayList;
 import java.util.Arrays;
 import java.util.Collection;
-import java.util.HashSet;
 import java.util.List;
-import java.util.Set;
 
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
index dfd8ed58fc87484130ba82cb307589701a3c6d52..5a7fa90bf1c4137af659cae507d726b70e6eb858 100644 (file)
@@ -290,6 +290,8 @@ public class ContainerTest extends TestCase {
                                        Thread.currentThread()).toArray(new String[0]));
                        ProvidedInterface[] envServices = environment.getRunningInterfaces();
                        assertEquals(0, envServices.length);
+                       assertNull(environment.getProvidedInterfaces()[0].getImplementation());
+                       assertNull(environment.getProvidedInterfaces()[0].getImplementation());
                        return;
                }
                fail();
@@ -330,6 +332,8 @@ public class ContainerTest extends TestCase {
                                        Thread.currentThread()).toArray(new String[0]));
                        ProvidedInterface[] envServices = environment.getRunningInterfaces();
                        assertEquals(0, envServices.length);
+                       assertNull(environment.getProvidedInterfaces()[0].getImplementation());
+                       assertNull(environment.getProvidedInterfaces()[0].getImplementation());
                        return;
                }
                fail();