'Test that the client and server protocol both have makeConnection
invoked on them by loopbackAsync.'

def test_makeConnection(self):

    class TestProtocol(Protocol, ):
        transport = None
        def makeConnection(self, transport):
            self.transport = transport
    server = TestProtocol()
    client = TestProtocol()
    loopback.loopbackAsync(server, client)
    self.assertIsNotNone(client.transport)
    self.assertIsNotNone(server.transport)
