void () { myFixture.configureByFile(getTestName(true) + ".java"); myFixture.enableInspections(new GuavaInspection()); boolean actionFound = false; myFixture.doHighlighting(); for (IntentionAction action : myFixture.getAvailableIntentions()) { if (TypeMigrationBundle.message("migrate.guava.to.java.family.name").equals(action.getFamilyName())) { myFixture.launchAction(action); actionFound = true; break; } } assertTrue("Quick fix isn't found", actionFound); myFixture.checkResultByFile(getTestName(true) + "_after.java"); }