@Test
public void testNextInteger() {

    // zaleznosci
    ValueHolder h1 = new IntegerHolder(123L);
    // testowany obiekt
    MultiValue mv = new DefaultMultiValue(new Object[]{h1});
    // oczekiwane wartosci
    assertEquals(new Integer(123), mv.nextInteger());
}