@Test
void usedClasses() throws IOException {

    final CodeClass clazz = parse(Path.testClass("ExampleConcreteClass"));
    assertCollectionEquals(toString(clazz.usedClasses()),
            "java.lang.String", "java.lang.Exception", "java.io.IOException", "java.io.File",
            "java.math.BigDecimal", "java.util.Vector", "java.util.jar.JarFile", "java.net.URL",
            "java.awt.im.InputContext", "java.awt.geom.AffineTransform",
            "java.awt.image.renderable.ContextualRenderedImageFactory", "java.awt.Checkbox",
            "java.rmi.RemoteException", "java.sql.Statement",
            "java.text.NumberFormat",
            "org.junit.jupiter.api.Tag", "org.junit.jupiter.api.Disabled", "org.junit.jupiter.api.Test",
            model("p2.ExampleEnum"), model("ExampleAbstractClass"), model("p1.ExampleInnerAnnotation"),
            model("ExampleConcreteClass$ExampleInnerClass"), model("ExampleAnnotation"));
}