void () { StaticImportInspection tool = new StaticImportInspection(); tool.ignoreSingeMethodImports = true; myFixture.enableInspections(tool); myFixture.testHighlighting(getTestName(false) + ".java"); }