void (@NotNull String text, LocalInspectionTool inspection) { myFixture.configureByText("hello.txt", text); try { myFixture.enableInspections(inspection); myFixture.checkHighlighting(); } finally { myFixture.disableInspections(inspection); } }