Assert.assertTrue("Local async call should be able to be cancelled",bean.cancelInterruptIfRunningWorksLocal());
}
public void testLocalRemote() throws Exception{
final AsyncTesterCommonBusiness bean = this.getTesterBean();
Assert.assertTrue("Remote async call should be able to be cancelled",bean.cancelInterruptIfRunningWorksRemote());
}
private AsyncTesterCommonBusiness getTesterBean() throws Exception {
final InitialContext ctx = getInitialContext();
final String jndiName = "AsyncTesterBean/remote";