'L{HTTPChannel} registers itself as a producer with its transport when a
connection is made.'

def test_HTTPChannelIsAProducer(self):

    (channel, transport) = self.buildChannelAndTransport(StringTransport(), DummyHTTPHandler)
    self.assertEqual(transport.producer, channel)
    self.assertTrue(transport.streaming)
