void (Class<? extends RestInspection> inspection) { myFixture.configureByFile("/inspections/" + getTestName(true) + ".rst"); if (inspection != null) myFixture.enableInspections(inspection); myFixture.checkHighlighting(true, false, false); }