def test_logPrefix(self):
        """
        L{Protocol.logPrefix} returns the protocol class's name.
        """
        class SomeThing(Protocol):
            pass
        self.assertEqual("SomeThing", SomeThing().logPrefix())

        L{Protocol.logPrefix} returns the protocol class's name.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/internet/test/test_protocol.py