void () { final PsiFile toCheckFile = myFixture.addFileToProject("p.properties", "key=value"); myFixture.configureByText("p_en.properties", "ke<caret>y=en_value"); myFixture.renameElementAtCaret("new_key"); assertEquals(toCheckFile.getText(), "new_key=value"); }