void () { doTextTest( "java", """ package com.acme; public class Test { protected boolean fix(String foo, String bar) { if (foo != null) { // That's a comment if (bar == null) {<caret> } } return true; } }""", """ package com.acme; public class Test { protected boolean fix(String foo, String bar) { if (foo != null) { // That's a comment if (bar == null) { <caret> } } return true; } }""" ); }