void (@NotNull String committed, @NotNull String modified, ChangedLines @NotNull ... lines) { ChangedFilesStructure fs = new ChangedFilesStructure(myWorkingDirectory); PsiFile file = fs.createFile("Test.java", committed, modified); reformatDirectory(myWorkingDirectory); assertFormattedRangesEqualsTo(file, lines); }