void () { myFixture.addClass("package foo; public class FooAction extends com.intellij.openapi.actionSystem.AnAction { }"); myFixture.enableInspections(DeprecatedClassUsageInspection.class); addIconClasses(); doHighlightingTest("iconAttribute.xml", "MyIconAttributeEPBean.java"); }