'L{NoRangeStaticProducer.resumeProducing} writes content from the
resource to the request.'

def test_resumeProducingProducesContent(self):

    request = DummyRequest([])
    content = 'abcdef'
    producer = static.NoRangeStaticProducer(request, StringIO(content))
    producer.start()
    self.assertEqual(content, ''.join(request.written))
