    @Test(expectedExceptions = ProtocolException.class)
    public void throwsWhenResponseHasIncorrectContentRange() throws Exception {

        final HttpRange.Response badContentRange = new HttpRange.Response(0, 99, 100);

        HttpDownloadContinuationMarker.validateInitialExchange(ImmutablePair.of(STUB_ETAG, STUB_BOUNDED_REQUEST_RANGE),
                                                               SC_PARTIAL_CONTENT,
                                                               ImmutablePair.of(STUB_ETAG, badContentRange));
    }