void (final String fileName, final String key, final String newName) { doTest(new PerformAction() { @Override public void performAction(VirtualFile rootDir, VirtualFile rootAfter) { RenamePropertyTest.this.performAction(rootDir, fileName, key, newName); } }); }