@Test
public void mustNotContainMembersInShapeId() {

    Assertions.assertThrows(SourceException.class, () -> {
        MapShape.builder()
                .id("ns.foo#bar$baz")
                .key(MemberShape.builder().id("ns.foo#bar$key").target("ns.foo#bam").build())
                .value(MemberShape.builder().id("ns.foo#bar$value").target("ns.foo#bam").build())
                .build();
    });
}