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

def test_stopProducing(self):

    transport = StringTransport()
    proxy = TransportProxyProducer(transport)
    self.assertEqual(transport.producerState, u'producing')
    proxy.stopProducing()
    self.assertEqual(transport.producerState, u'stopped')
    transport = StringTransport()
    proxy = TransportProxyProducer(transport)
    proxy._stopProxying()
    proxy.stopProducing()
    self.assertEqual(transport.producerState, u'producing')
