@Test
public void testExtend() {

    assertThat(empty.extend("other")).isEqualTo(new LinearId("other"));
    assertThat(single.extend("other")).isEqualTo(new LinearId("single", "other"));
    assertThat(dual.extend("other")).isEqualTo(new LinearId("hello", "world", "other"));
}