@Test
public void testNext__mixed() {

    // zaleznosci
    Date d1 = new Date();
    Date d2 = new Date();
    ValueHolder h1 = new DateHolder(d1);
    ValueHolder h2 = new DateHolder(d2);
    // testowany obiekt
    MultiValue mv = new DefaultMultiValue(new Object[]{h1, h2});
    // oczekiwane wartosci
    assertEquals(d1, mv.nextDate());
    assertEquals(d2, mv.nextDate());
}