void () { String path = "/codeInsight/enterAction/xml/"; configureByFile(path + "state4.xml"); performAction(); PsiDocumentManager.getInstance(getProject()).commitDocument(getEditor().getDocument()); assertEquals(getFile().getText(), getEditor().getDocument().getText()); // checkResultByFile(path + "state5.xml"); }