void () { myFixture.enableInspections(new MisspelledHeaderInspection()); myFixture.configureByText(ManifestFileType.INSTANCE, "ManifestVersion: 1.0\n"); List<IntentionAction> intentions = myFixture.filterAvailableIntentions("Change to"); assertEquals(1, intentions.size()); myFixture.checkPreviewAndLaunchAction(intentions.get(0)); NonBlockingReadActionImpl.waitForAsyncTaskCompletion(); myFixture.checkResult("Manifest-Version: 1.0\n"); }