'L{StringTransport.resumeProducing} raises L{RuntimeError} if the
transport is being disconnected.'

def test_disconnectingTransportCannotResume(self):

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