* @throws Exception
*/
public void testManagedBeanInvocation() throws Exception
{
// get hold of the bean which internally invokes on the managed bean
Echo bean = (Echo) this.getInitialContext().lookup(DelegateSLSB.JNDI_NAME);
String message = "No new message!";
String echoedMessage = bean.echo(message);
Assert.assertEquals("Unexpected message returned", message, echoedMessage);
}