'L{TransportProxyProducer.resumeProducing} calls the wrapped
transport\'s C{resumeProducing} method unless told to stop proxying.'

def test_resumeProducing(self):

    transport = StringTransport()
    transport.pauseProducing()
    proxy = TransportProxyProducer(transport)
    self.assertEqual(transport.producerState, u'paused')
    proxy.resumeProducing()
    self.assertEqual(transport.producerState, u'producing')
    transport.pauseProducing()
    proxy._stopProxying()
    proxy.resumeProducing()
    self.assertEqual(transport.producerState, u'paused')
