void () { doTextTest("java", """ public class Test { private void foo(boolean condition) { boolean x = condition ? bar( "param" ) : true;<caret> } private boolean bar(String param) { return false; } }""", """ public class Test { private void foo(boolean condition) { boolean x = condition ? bar( "param" ) : true; <caret> } private boolean bar(String param) { return false; } }"""); }