void (String source, String dest, String expected, String filename1, String filename2) { myFixture.configureByText(filename1, source); myFixture.performEditorAction(IdeActions.ACTION_EDITOR_COPY); myFixture.configureByText(filename2, dest); myFixture.performEditorAction(IdeActions.ACTION_EDITOR_PASTE); myFixture.checkResult(expected); }