@Test
public void shouldServeTheSameBytesForSingeRangeGreaterThanTheBuffer() throws IOException {

    Range range = new Range(3, 1024);
    byte[] inputBytesSliced = sliceHelper.getSliceForRanges(inputBytes, Arrays.asList(range));
    streamHelper.serveMultiRangeStream(inputStream, outputStream, range);
    byte[] out = outputStream.toByteArray();
    assertThat(out.length, is(equalTo((int) rangeHelper.getTotalLength(Arrays.asList(range)))));
    assertThat(out, equalTo(inputBytesSliced));
}