void () { final RawUseOfParameterizedTypeInspection inspection = (RawUseOfParameterizedTypeInspection)getInspection(); inspection.ignoreWhenQuickFixNotAvailable = true; myFixture.enableInspections(inspection); myFixture.configureByFile("RawUseOfParameterizedType.java"); final Document document = myFixture.getEditor().getDocument(); final ExpectedHighlightingData data = new ExpectedHighlightingData(document, false, false, false); data.init(); final List<HighlightInfo> infos = myFixture.doHighlighting(HighlightSeverity.WARNING); assertEmpty(infos); }