void () { String text = """ test(new Runnable() { @Override public void run() { System.out.println("AAA!"); } }, new Runnable() { @Override public void run() { System.out.println("BBB!"); } }); """; doMethodTest(text, text); }