'L{StringTransport.stopProducing} changes the C{\'producerState\'} of the
transport to C{\'stopped\'}.'

def test_stopProducing(self):

    self.transport.stopProducing()
    self.assertEqual(self.transport.producerState, 'stopped')
