'If there is no request producer currently registered, C{stopProducing}
does nothing.'

def test_HTTPChannelStopWithNoRequestOutstanding(self):

    (channel, transport) = self.buildChannelAndTransport(StringTransport(), DummyHTTPHandler)
    channel.unregisterProducer()
    self.assertIs(channel._requestProducer, None)
