10111213141516
public class JUnit4Test { @Test public void shouldPass() throws InterruptedException { assertTrue(new Truth().value()); }
91011121314151617
public class FailureInBeforeClass { private static Truth truth; @BeforeClass public static void beforeClass() { truth = new Truth(); // FIXME Uncommenting this should cause the test to fail throw new IllegalStateException(); }
45678910
public class TruthyTest extends TestCase { public void testShouldBeTrue() { assertTrue(new Truth().value()); }