'makeProducer still returns an instance of L{SingleRangeStaticProducer}
when the Range header requests multiple ranges, none of which are
satisfiable.'

def test_multipleUnsatisfiableRangesReturnsMultipleRangeStaticProducer(self):

    request = DummyRequest([])
    request.requestHeaders.addRawHeader('range', 'bytes=10-12,15-20')
    resource = self.makeResourceWithContent('abc')
    with resource.openForReading() as file:
        producer = resource.makeProducer(request, file)
        self.assertIsInstance(producer, static.MultipleRangeStaticProducer)
