@Test
public void readBuffer_validInputStream() throws IOException {

    final InputStream inputStream = createInputStream(TEST_BUFFER);
    byte[] buffer = new byte[8];
    while (inputStream.read(buffer) != -1) {}
}