@Test public void testReturnMessage() throws Exception { logger.info("Testing standalone.ejb.StandaloneBean.returnMessage()"); StandaloneBean instance = (StandaloneBean) ctx.lookup("java:global/classes/StandaloneBean"); String expResult = "Greetings!"; String result = instance.returnMessage(); assertEquals(expResult, result); }
public String returnMessage() { return message; }
StandaloneBean { public String returnMessage() { return message; } }
StandaloneBean { public String returnMessage() { return message; }  }
StandaloneBean { public String returnMessage() { return message; }  String returnMessage(); }
StandaloneBean { public String returnMessage() { return message; }  String returnMessage();  }