package testing; import junit.framework.TestCase; import org.osoa.sca.CurrentCompositeContext; /** * @version $Rev$ $Date$ */ public class FooITest extends TestCase { private HelloService service; public void testFoo() { System.out.println("Hello World"); } public void testHelloWorld() { assertEquals("Hello World", service.getGreeting()); } protected void setUp() throws Exception { super.setUp(); // service = new HelloServiceImpl(); service = CurrentCompositeContext.getContext().locateService(HelloService.class, "HelloComponent"); } }