4647484950515253545556
UtilServer.stop(); } @Test public void test() throws Exception { Test01 stub = new Test01Stub(UtilServer.getConfigurationContext(), "http://127.0.0.1:" + UtilServer.TESTING_PORT + "/axis2/services/Test01"); Add add = new Add(); add.setArg1(3); add.setArg2(4); assertEquals(7, stub.add(add)); }
5556575859606162
@After public void after() { m_xMSF = null; } @Test public void ExecuteTest01() { StandaloneDocumentInfoTest aTest = new Test01 (m_xMSF); assertTrue( "Test01 failed!", aTest.test() ); }