@Test
public void annotationTraitsAreNotLossy() {

    ObjectNode objectNode = new ObjectNode(
            MapUtils.of(Node.from("hi"), Node.from("bye")),
            SourceLocation.NONE);
    SensitiveTrait trait = new SensitiveTrait.Provider().createTrait(ShapeId.from("foo#bar"), objectNode);
    assertThat(trait.toNode(), equalTo(objectNode));
}