def getProtocol(self):
        t = proto_helpers.StringTransport()
        a = self.protocol()
        a.makeConnection(t)
        return a
Return a new instance of C{self.protocol} connected to a new instance
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/test/test_protocols.py/LPTestCaseMixin.getProtocol