import junit.framework.TestCase; import org.junit.Assert; class MyTest extends TestCase { public void test() { Assert.fail(); fail(); } }