@Test
public void doesNotCheckShapesThatAreTraitShapes() {

    UnreferencedShapes unref = new UnreferencedShapes();
    assertThat(unref.compute(model).stream().map(Shape::getId).collect(Collectors.toSet()), containsInAnyOrder(
            ShapeId.from("ns.foo#Exclude1"),
            ShapeId.from("ns.foo#Exclude2")));
}