@Test
public void builderUpdatesMemberId() {

    ListShape shape = ListShape.builder()
            .id("ns.foo#bar")
            .member(ShapeId.from("ns.foo#bam"))
            .id("ns.bar#bar")
            .build();
    assertThat(shape.getMember().getId(), equalTo(ShapeId.from("ns.bar#bar$member")));
    assertThat(shape.getMember().getTarget(), equalTo(ShapeId.from("ns.foo#bam")));
}