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