@Test
void genericParameters() throws IOException {

    final CodeClass generic = parse(Path.testClass("p4/GenericParameters"));
    assertCollectionEquals(toString(generic.usedPackages()),
            "java.util", "java.lang",
            model("p4.p4"), model("p4.p2"), model("p4.p1"), model("p4.p9"), model("p4.p10"),
            model("p4.p5"), model("p4.p6"), model("p4.p7"), model("p4.p8"));
}