'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):

    request = DummyRequest([])
    content = 'abcdef'
    producer = static.MultipleRangeStaticProducer(request, StringIO(content), [('1', 1, 3), ('2', 5, 1)])
    producer.start()
    self.assertEqual('1bcd2f', ''.join(request.written))
