// Get a naming context and log in
final Context context = arquillianContext.get(Context.class, props);
// Look up the EJB and request upon a secured action
final EchoLocalBusiness bean = (EchoLocalBusiness) context.lookup(JNDI_NAME);
final String expected = "Secured Action";
final String received = bean.securedEcho(expected);
Assert.assertSame("Should have been able to invoke upon a secured action using context lookup with props",
expected, received);
// Log out
context.close();