void () { myFixture.addClass(""" package a; public class A { public static void foo(Object o) {} public static void foo(String s) {} }"""); doTest(""" import static a.A.foo; class Test { { foo(<error descr="Cannot resolve method 'unresolvedMethodCall()'">unresolvedMethodCall</error>()); } }"""); }