void () { doTest(""" import org.junit.Test; import static org.junit.Assert.*; class TestCase { @Test public void test() { <warning descr="'fail()' without message"><caret>fail</warning>(); } }"""); checkQuickFix("Add error message", """ import org.junit.Test; import static org.junit.Assert.*; class TestCase { @Test public void test() { fail("<caret>"); } }"""); }