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