void (@NotNull String beforeFile) { File file = new File(beforeFile); String parent = file.getParent(); if (moduleInfoFile != null) { String afterFileName = PsiJavaModule.MODULE_INFO_FILE.replace(".java", "_after.java"); commitAllDocuments(); KotlinTestUtils.assertEqualsToFile(new File(parent, afterFileName), moduleInfoFile.getText()); } }