HelloUserBean implements HelloUser { public String sayHello(String name) { return "Hello " + name + " welcome to EJB 3.1!"; }  String sayHello(String name);  }
@Test public void testSayHello() { String helloMessage = helloUser.sayHello("Curious George"); Assert.assertEquals("Message did not match.","Hello Curious George welcome to EJB 3.1!",helloMessage); }