@Test
public void shouldReportDefinitionsForTraitsThatAreNotUsed() {

    Model model = Model.assembler()
            .addImport(UnreferencedTraitDefinitionsTest.class.getResource("unreferenced-test.json"))
            .assemble()
            .unwrap();
    UnreferencedTraitDefinitions unreferencedTraitDefinitions = new UnreferencedTraitDefinitions();
    assertThat(unreferencedTraitDefinitions.compute(model),
            contains(model.expectShape(ShapeId.from("ns.foo#quux"))));
}