@Test
public void testToArray() {

    assertThat(empty.toArray()).isEmpty();
    assertThat(single.toArray()).containsExactly("single");
    assertThat(dual.toArray()).containsExactly("hello", "world");
    assertThat(single.toArray()).isNotSameAs(single.toArray());
}