@Test
public void loadsAnnotationTraitObjects() {

    SourceLocation sourceLocation = new SourceLocation("/foo");
    ObjectNode objectNode = new ObjectNode(Collections.emptyMap(), sourceLocation);
    SensitiveTrait trait = new SensitiveTrait.Provider().createTrait(ShapeId.from("foo#bar"), objectNode);
    assertThat(trait.getSourceLocation(), equalTo(sourceLocation));
}