void () { String text = "[]varx []=r'''\n" + "'''"; TestData data = FormatterEngineTestsKt.extractFormattingTestData(text); Document document = EditorFactory.getInstance().createDocument(data.getTextToFormat()); NewLineBlocksIterator iterator = new NewLineBlocksIterator(data.getRootBlock(), document); checkStartOffsets(new int[] {0}, iterator); }