Removed DOCUMENT ME comments that were generated and applied source code
[utils] / system / general / src / test / java / org / wamblee / system / core / DefaultScopeTest.java
index 311694aa304a45635efc12e14cabfa6ba88efda5..ee2de0c078d7524043d39df8cdacbb8eaf9bceef 100644 (file)
@@ -17,49 +17,40 @@ package org.wamblee.system.core;
 
 import junit.framework.TestCase;
 
-
 /**
- * DOCUMENT ME!
- *
+ * 
  * @author $author$
  * @version $Revision$
 */
+ */
 public class DefaultScopeTest extends TestCase {
-    /**
-     * DOCUMENT ME!
-     */
     public void testLookup() {
         ProvidedInterface provider = new DefaultProvidedInterface("x",
-                Integer.class);
-        Scope             scope    = new DefaultScope(new ProvidedInterface[0]);
+            Integer.class);
+        Scope scope = new DefaultScope(new ProvidedInterface[0]);
 
         scope.publishInterface(provider, 100);
-        assertEquals(100,
-            scope.getInterfaceImplementation(provider, Integer.class).intValue());
+        assertEquals(100, scope.getInterfaceImplementation(provider,
+            Integer.class).intValue());
     }
 
-    /**
-     * DOCUMENT ME!
-     */
     public void testNestedLookup() {
         ProvidedInterface provider1 = new DefaultProvidedInterface("x",
-                Integer.class);
-        Scope             parent    = new DefaultScope(new ProvidedInterface[0]);
+            Integer.class);
+        Scope parent = new DefaultScope(new ProvidedInterface[0]);
 
         parent.publishInterface(provider1, 100);
 
         ProvidedInterface provider2 = new DefaultProvidedInterface("y",
-                String.class);
-        Scope             child     = new DefaultScope(new ProvidedInterface[0],
-                parent);
+            String.class);
+        Scope child = new DefaultScope(new ProvidedInterface[0], parent);
 
         child.publishInterface(provider2, "hallo");
 
         assertFalse(provider1.equals(provider2));
 
-        assertEquals(100,
-            child.getInterfaceImplementation(provider1, Integer.class).intValue());
-        assertEquals("hallo",
-            child.getInterfaceImplementation(provider2, String.class));
+        assertEquals(100, child.getInterfaceImplementation(provider1,
+            Integer.class).intValue());
+        assertEquals("hallo", child.getInterfaceImplementation(provider2,
+            String.class));
     }
 }