@Test public void testSayHello() { Person person = new Person(); person.setFirstName("Sherlock"); person.setLastName("Holmes"); assertEquals("Hello Sherlock Holmes!", helloWorldClientImpl.sayHello( person, "sherlock.holmes", "h0lm35")); }
public String sayHello(Person person, String userName, String password) { setBasicAuthentication(userName, password); return sayHello(person); }
HelloWorldClientImpl { public String sayHello(Person person, String userName, String password) { setBasicAuthentication(userName, password); return sayHello(person); } }
HelloWorldClientImpl { public String sayHello(Person person, String userName, String password) { setBasicAuthentication(userName, password); return sayHello(person); } HelloWorldClientImpl(Bus bus); }
HelloWorldClientImpl { public String sayHello(Person person, String userName, String password) { setBasicAuthentication(userName, password); return sayHello(person); } HelloWorldClientImpl(Bus bus); String sayHello(Person person, String userName, String password); }
HelloWorldClientImpl { public String sayHello(Person person, String userName, String password) { setBasicAuthentication(userName, password); return sayHello(person); } HelloWorldClientImpl(Bus bus); String sayHello(Person person, String userName, String password);  }