void () { myFixture.addClass("package foo; " + "public class Class1 {" + " public static <T> T foo(){return null;}\n" + "}"); myFixture.configureByFile(getTestName(false) + ".java"); final IntentionAction intentionAction = myFixture.getAvailableIntention("Add static import for 'foo.Class1.foo'"); assertNull(intentionAction); }