@Test
public void testSkip() throws Exception {

    when(wrappedStream.skip(6)).thenReturn(3L);
    assertEquals(3L, stream.skip(6));
    //noinspection ResultOfMethodCallIgnored
    verify(wrappedStream, times(1)).skip(6);
    verify(listener, times(1)).progress(3);
}