def test_makeConnection(self):
        result = []
        class SomeProtocol(Protocol):
            def connectionMade(self):
                result.append(self.transport)

        transport = object()
        protocol = SomeProtocol()
        protocol.makeConnection(transport)
        self.assertEqual(result, [transport])
L{Protocol.makeConnection} sets the given transport on itself, and
dataset/ETHPy150Open twisted/twisted/twisted/internet/test/test_protocol.py/ProtocolTests.test_makeConnection