@Test
public void returnsAppropriateType() {

    MapShape shape = MapShape.builder()
            .id("ns.foo#bar")
            .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();
    assertEquals(shape.getType(), ShapeType.MAP);
}