@Test
public void readByte_getByte() throws Exception {

    when(wrappedStream.read()).thenReturn((int) 'a');
    assertEquals('a', stream.read());
    //noinspection ResultOfMethodCallIgnored
    verify(wrappedStream, times(1)).read();
    verify(listener, times(1)).progress(1);
}