void () { EncodingProjectManager.getInstance(getProject()).setDefaultCharsetForPropertiesFiles(null, StandardCharsets.UTF_8); UIUtil.dispatchAllInvocationEvents(); String filePath = "threeDots.properties"; myFixture.configureByFile(filePath); List<IntentionAction> fixes = myFixture.getAllQuickFixes(filePath); IntentionAction fix = assertOneElement(fixes); myFixture.launchAction(fix); myFixture.checkResultByFile("threeDotsCorrect.properties"); }