void () { myFixture.addClass("package foo; class Foo {public static void foo(int i){}}"); myFixture.addClass("package foo; class Bar {public static void foo(int i){}}"); myFixture.configureByFile(getTestName(false) + ".java"); IntentionAction intention = myFixture.getAvailableIntention("Add static import for 'foo.Bar.foo'"); assertNull(intention); }