def test_makeConnection(self):
        """
        Our process transport is properly hooked up to the wrappedIProtocol
        when a connection is made.
        """
        d = self.ep.connect(self.factory)
        self.successResultOf(d)
        wpp = self.reactor.processProtocol
        self.assertEqual(wpp.protocol.transport, wpp.transport)

        Our process transport is properly hooked up to the wrappedIProtocol
        when a connection is made.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/internet/test/test_endpoints.py