@Test
void classAnnotation() throws IOException {

    final CodeClass annotations = parse(Path.testClass("p5/Annotations"));
    assertCollectionEquals(toString(annotations.getAnnotations()),
            model("p5.ClassRetentionAnnotation"),
            model("ExampleAnnotation"),
            model("p1.ExampleInnerAnnotation"));
}