void () { ExtensionTestUtil.maskExtensions(AlphaUnsortedPropertiesFileInspectionSuppressor.EP_NAME, Collections.<AlphaUnsortedPropertiesFileInspectionSuppressor>singletonList(new AlphaUnsortedPropertiesFileInspectionSuppressor() { @Override public boolean suppressInspectionFor(@NotNull PropertiesFile propertiesFile) { return propertiesFile.getName().toLowerCase(Locale.ENGLISH).contains("suppress"); } }), myFixture.getTestRootDisposable()); doTest(); }