@Test
public void should_be_read_when_maximum_size_is_less_or_equal_to_zero() throws Exception {

    // Given
    byte[] bytes = { 0, 1, 2 };
    InputStream inputStream = new StrictlyBoundedInputStream(new ByteArrayInputStream(bytes), -1);
    byte[] result = new byte[3];
    // When
    inputStream.read(result, 0, 3);
    // Then
    assertArrayEquals(bytes, result);
}