void () { myFixture.configureByText("p.properties", """ a=a d=d # some comment on "e" # this is multiline comment e=e b=b c=b"""); myFixture.enableInspections(new AlphaUnsortedPropertiesFileInspection()); final IntentionAction intention = myFixture.getAvailableIntention("Sort resource bundle files", "p.properties"); assertNotNull(intention); myFixture.launchAction(intention); myFixture.checkResult(""" a=a b=b c=b d=d # some comment on "e" # this is multiline comment e=e"""); }