@Test
public void addMemberWithTarget() {

    ListShape shape = ListShape.builder()
            .id("ns.foo#bar")
            .member(ShapeId.from("ns.foo#bam"))
            .build();
    assertEquals(shape.getMember(),
                 MemberShape.builder().id(shape.getId().withMember("member")).target("ns.foo#bam").build());
}