void (@NotNull String hint) { final String directoryPath = "intentions/" + getTestName(false); final String filesPathPrefix = directoryPath + "/" + getTestName(true); myFixture.copyDirectoryToProject(directoryPath, ""); myFixture.configureByFile(filesPathPrefix + ".py"); final IntentionAction action = myFixture.findSingleIntention(hint); myFixture.launchAction(action); myFixture.checkResultByFile(filesPathPrefix + ".py", filesPathPrefix + "_after.py", false); }