void () { doTextTest( "java", """ class MyTest { private void foo() { String a = "a";<caret> String b = "b";} }""", """ class MyTest { private void foo() { String a = "a"; <caret>String b = "b";} }""" ); }