'L{StringTransport.unregisterProducer} raises L{RuntimeError} if called
when no producer is registered.'

def test_invalidUnregisterProducer(self):

    self.assertRaises(RuntimeError, self.transport.unregisterProducer)
