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

def test_pauseProducing(self):

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