void () { myFixture.addClass(""" package p; import p2.GenericClass.*; public class Class2 { public static boolean test(InnerClass context) { return true; } } """); myFixture.addClass(""" package p2; public class GenericClass<T> { public class InnerClass { } }"""); doTest(); }