@Test
@SuppressWarnings("rawtypes")
void testToArray() {

    final Map.Entry[] expected = refStream().toArray(Map.Entry[]::new);
    final Map.Entry[] actual = instance.toArray(Map.Entry[]::new);
    assertArrayEquals(expected, actual);
}