/** Example test method. */ public void testMethod4() { X.println("Output from TestB.testMethod4()."); throw new RuntimeException("Failed exception from TestB.testMethod4()."); }
/** Example test method. */ public void testMethod3() { X.println("Output from TestB.testMethod3()."); assertTrue("Failed assertion from TestB.testMethod3().", false); }
/** {@inheritDoc} */ @Override protected void tearDown() throws Exception { X.println("Tearing down test execution: " + getName()); }
/** Example test method. */ public void testMethod2() { X.println("Output from TestB.testMethod2()."); }
/** {@inheritDoc} */ @Override protected void setUp() throws Exception { X.println("Preparing for test execution: " + getName()); }