Assert.assertEquals(helloWorldClientB.getGreetings("fred"), "Hello fred");
}
@Test
public void testHelloWorldMultipleServices() throws Exception {
HelloWorldClient helloWorldClientA = nodeA.getService(HelloWorldClient.class, "AHelloWorldClientMultipleServices");
HelloWorldClient helloWorldClientA2 = nodeA.getService(HelloWorldClient.class, "AHelloWorldClientMultipleServices2");
HelloWorldClient helloWorldClientB = nodeB.getService(HelloWorldClient.class, "BHelloWorldClientMultipleServices");
Assert.assertEquals(helloWorldClientA.getGreetings("fred"), "Hello fred");
Assert.assertEquals(helloWorldClientA2.getGreetings("fred"), "Hello fred");
Assert.assertEquals(helloWorldClientB.getGreetings("fred"), "Hello fred");
}