'L{StringTransport.resumeProducing} raises L{RuntimeError} if the
transport has been stopped.'

def test_stoppedTransportCannotResume(self):

    self.transport.stopProducing()
    self.assertRaises(RuntimeError, self.transport.resumeProducing)
