void () { myFixture.addClass("package f; public class Foo {}"); myFixture.configureByText("a.java", """ public class Bar { Fo<caret>o<String> foo; } """); importClass(); myFixture.checkResult(""" import f.Foo; public class Bar { Foo<String> foo; } """); }