@Test
public void memberOrderMattersForEqualComparison() {

    StructureShape a = StructureShape.builder()
            .id("ns.foo#bar")
            .addMember("foo", ShapeId.from("ns.foo#bam"))
            .addMember("baz", ShapeId.from("ns.foo#bam"))
            .build();
    StructureShape b = StructureShape.builder()
            .id("ns.foo#bar")
            .addMember("baz", ShapeId.from("ns.foo#bam"))
            .addMember("foo", ShapeId.from("ns.foo#bam"))
            .build();
    assertThat(a, not(equalTo(b)));
}