void () { ChangedFilesStructure fs = new ChangedFilesStructure(myWorkingDirectory); PsiFile untouched1 = fs.createFile("Test1.java", COMMITTED, COMMITTED); PsiFile untouched2 = fs.createFile("Test2.java", COMMITTED, COMMITTED); PsiFile modified1 = fs.createFile("Test4.java", COMMITTED, MODIFIED); PsiFile modified2 = fs.createFile("Test5.java", COMMITTED, MODIFIED); PsiFile modified3 = fs.createFile("Test6.java", COMMITTED, MODIFIED); reformatDirectory(fs.getCurrentDirectory()); assertFormattedLines(CHANGED_LINES, modified1, modified2, modified3); assertFormattedLines(NO_CHANGED_LINES, untouched1, untouched2); }