@Test
public void testSkip_getEof() throws Exception {

    when(wrappedStream.skip(anyLong())).thenReturn((long) EOF);
    assertEquals(EOF, stream.skip(6));
    //noinspection ResultOfMethodCallIgnored
    verify(wrappedStream, times(1)).skip(6);
    verify(listener, times(1)).reachedEof(0);
}