public static Test suite() throws Exception { final String jarName = "ejbthree1346.jar"; Test t1 = JBossClusteredTestCase.getDeploySetup( DisableClusteredAnnotationUnitTestCase.class, jarName); return t1; }
@Override public void testServerFound() throws Exception { // The superclass throws an exception, but we want this // to be a failure, not an error try { super.testServerFound(); } catch (Exception e) { // Use assertNull to get the stack trace in the test report assertNull("Deployment had no exceptions", e); } }