void () { myFixture.addClass("package java.awt; public class List extends Component {}"); doTest(""" import javax.swing.*; import java.awt.*; import java.util.*; import java.util.List; class ImportTest extends Component { Collection<String> c; List<Integer> l; JComponent jc; }"""); }