def test_interfaces(self):
        """
        L{Protocol} instances provide L{IProtocol} and L{ILoggingContext}.
        """
        proto = Protocol()
        self.assertTrue(verifyObject(IProtocol, proto))
        self.assertTrue(verifyObject(ILoggingContext, proto))

        L{Protocol} instances provide L{IProtocol} and L{ILoggingContext}.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/internet/test/test_protocol.py