void () { myFixture.addClass("package java.lang; class StringValue {}"); myFixture.addClass("package foo; public class StringValue {}"); myFixture.configureByText("a.java", """ public class Foo { String<caret>Value sv; } """); importClass(); myFixture.checkResult(""" import foo.StringValue; public class Foo { String<caret>Value sv; } """); }