void () { // Inspired by IDEA-54191 getSettings().getRootSettings().getIndentOptions(JavaFileType.INSTANCE).INDENT_SIZE = 4; getSettings().KEEP_SIMPLE_BLOCKS_IN_ONE_LINE = false; doMethodTest( "new Expectations() {\n" + " {foo();}};", """ new Expectations() { { foo(); } };""" ); }