@Test
public void testNextStringArray() {

    // zaleznosci
    StringHolder h1 = new StringHolder("A");
    StringHolder h2 = new StringHolder("B");
    StringHolder h3 = new StringHolder("C");
    // 3 elementy
    ValueHolder[] e1 = {h1, h2};
    ValueHolder[] e2 = {h2, h3};
    // testowany obiekt
    MultiValue mv = new DefaultMultiValue(new Object[]{e1, e2});       // 2 poziomy typu tablicowego
    // oczekiwane wartosci
    assertArrayEquals(new String[]{"A", "B"}, mv.nextStringArray());
    assertArrayEquals(new String[]{"B", "C"}, mv.nextStringArray());
}