Removed DOCUMENT ME comments that were generated and applied source code
[utils] / test / enterprise / src / test / java / org / wamblee / support / jndi / StubInitiaContextFactoryTest.java
index 6016e2b3e041e75b7c461994086dc0738dc54c6a..16d62d617cc3c12d042016327d5387ebddf3784c 100644 (file)
@@ -12,30 +12,29 @@ import org.wamblee.support.jndi.StubInitialContextFactory;
 
 public class StubInitiaContextFactoryTest {
 
-       @Before
-       @After
-       public void setUp() { 
-               StubInitialContextFactory.unregister();
-       }
-
-       
-       @Test(expected = NamingException.class)
-       public void testLookupNotRegistered() throws Exception { 
-               InitialContext ctx = new InitialContext();
-               ctx.bind("a/b", "hallo");
-       }
-       
-       @Test
-       public void testLookup() throws Exception {
-           StubInitialContextFactory.register();
-           
-               InitialContext ctx = new InitialContext();
-               ctx.bind("a/b", "hallo");
-               
-               ctx = new InitialContext(); 
-               Object obj = ctx.lookup("a/b");
-               
-               assertEquals("hallo", obj);
-       }
-       
+    @Before
+    @After
+    public void setUp() {
+        StubInitialContextFactory.unregister();
+    }
+
+    @Test(expected = NamingException.class)
+    public void testLookupNotRegistered() throws Exception {
+        InitialContext ctx = new InitialContext();
+        ctx.bind("a/b", "hallo");
+    }
+
+    @Test
+    public void testLookup() throws Exception {
+        StubInitialContextFactory.register();
+
+        InitialContext ctx = new InitialContext();
+        ctx.bind("a/b", "hallo");
+
+        ctx = new InitialContext();
+        Object obj = ctx.lookup("a/b");
+
+        assertEquals("hallo", obj);
+    }
+
 }