def test_resumeProducingProducesContent(self):
    '\n        L{MultipleRangeStaticProducer.resumeProducing} writes the requested\n        chunks of content from the resource to the request, with the supplied\n        boundaries in between each chunk.\n        '
    request = DummyRequest([])
    content = b'abcdef'
    producer = static.MultipleRangeStaticProducer(request, StringIO(content), [(b'1', 1, 3), (b'2', 5, 1)])
    producer.start()
    self.assertEqual(b'1bcd2f', b''.join(request.written))
L{MultipleRangeStaticProducer.resumeProducing} writes the requested
chunks of content from the resource to the request, with the supplied
boundaries in between each chunk.
def test_resumeProducingProducesContent(self):
    '\n        L{MultipleRangeStaticProducer.resumeProducing} writes the requested\n        chunks of content from the resource to the request, with the supplied\n        boundaries in between each chunk.\n        '
    request = DummyRequest([])
    content = b'abcdef'
    producer = static.MultipleRangeStaticProducer(request, StringIO(content), [(b'1', 1, 3), (b'2', 5, 1)])
    producer.start()
    self.assertEqual(b'1bcd2f', b.join(request.written))