def test_interfaces(self):
        proto = Protocol()
        self.assertTrue(verifyObject(IProtocol, proto))
        self.assertTrue(verifyObject(ILoggingContext, proto))
L{Protocol} instances provide L{IProtocol} and L{ILoggingContext}.
dataset/ETHPy150Open twisted/twisted/twisted/internet/test/test_protocol.py/ProtocolTests.test_interfaces