void () { myFixture.configureByFiles(getTestName(false) + ".java", getTestName(false) + "Internal.java", getTestName(true) + ".fxml"); final PsiElement elementAtCaret = myFixture.getElementAtCaret(); new RenameProcessor(getProject(), elementAtCaret, "newName", false, false).run(); myFixture.checkResultByFile(getTestName(true) + ".fxml", getTestName(true) + "_after.fxml", false); myFixture.checkResultByFile(getTestName(false) + ".java", getTestName(false) + "_after.java", false); }