domain.getCompositeActivator().start(domain.getDomainComposite());
}
public void testServiceCall() throws IOException {
HelloWorldService helloWorldService_one =
domain.getService(HelloWorldService.class, "HelloWorldServiceComponent_one/HelloWorldService");
assertNotNull(helloWorldService_one);
assertEquals("Hello Smith", helloWorldService_one.getGreetings("Smith"));
HelloWorldService helloWorldService_two =
domain.getService(HelloWorldService.class, "HelloWorldServiceComponent_two/HelloWorldService");
assertNotNull(helloWorldService_two);
assertEquals("Hello Smith", helloWorldService_two.getGreetings("Smith"));
}