void () { ExtractMethodRecommenderInspection inspection = new ExtractMethodRecommenderInspection(); myFixture.enableInspections(inspection); myFixture.configureByFile(getTestName(false) + ".java"); myFixture.checkHighlighting(); }