void () { init(""" class C { int <selection>a<caret></selection> = 1; }""", JavaFileType.INSTANCE); executeAction(IdeActions.ACTION_EDITOR_AUTO_INDENT_LINES); checkResultByText(""" class C { int <selection>a<caret></selection> = 1; }"""); }