From: Erik Brakkee <erik@brakkee.org>
Date: Fri, 11 Apr 2008 21:33:26 +0000 (+0000)
Subject: (no commit message)
X-Git-Tag: wamblee-utils-0.7~783
X-Git-Url: http://wamblee.org/gitweb/?a=commitdiff_plain;h=430ad8d48bd5f9493b536f4ad14ee77093da5c3d;p=utils

---

diff --git a/system/general/src/test/java/org/wamblee/system/core/ContainerTest.java b/system/general/src/test/java/org/wamblee/system/core/ContainerTest.java
index 86d5760b..ee5b4e50 100644
--- a/system/general/src/test/java/org/wamblee/system/core/ContainerTest.java
+++ b/system/general/src/test/java/org/wamblee/system/core/ContainerTest.java
@@ -86,8 +86,8 @@ public class ContainerTest extends TestCase {
 	}
 
 	public void testEnvironmentApplication() {
-		Component environment = new Environment(_tracker);
-		Component application = new Application(_tracker);
+		Environment environment = new Environment(_tracker);
+		Application application = new Application(_tracker);
 		Container container = new Container("root", new Component[] {
 				environment, application }, new ProvidedInterface[0],
 				new RequiredInterface[0]);
@@ -100,6 +100,9 @@ public class ContainerTest extends TestCase {
 		assertEquals(2, envServices.length);
 		ProvidedInterface[] appServices = application.getRunningInterfaces();
 		assertEquals(0, appServices.length);
+		
+		assertEquals(environment.getString(), application.getString());
+		assertEquals(environment.getInteger(), application.getInteger());
 
 	}