def test_protocolLogPrefix(self):
        """
        L{ProtocolWrapper.logPrefix} is customized to mention both the original
        protocol and the wrapper.
        """
        server = Server()
        factory = policies.WrappingFactory(server)
        protocol = factory.buildProtocol(
            address.IPv4Address('TCP', '127.0.0.1', 35))
        self.assertEqual("EchoProtocol (ProtocolWrapper)",
                         protocol.logPrefix())

        L{ProtocolWrapper.logPrefix} is customized to mention both the original
        protocol and the wrapper.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/test/test_policies.py