void () { String text = """ foo(1221, new Runnable() { @Override public void run() { System.out.println("A"); } }, new Runnable() { @Override public void run() { System.out.println("BB"); } });"""; doMethodTest(text, text); }