'Registering a producer with the endpoint transport registers it with
the underlying process transport.'

def test_registerProducer(self):

    @implementer(IPushProducer)
    class AProducer(object, ):
        pass
    aProducer = AProducer()
    self.endpointTransport.registerProducer(aProducer, False)
    self.assertIs(self.process.producer, aProducer)
