def test_interfaces(self):
        factory = protocol.Factory()
        self.assertTrue(verifyObject(IProtocolFactory, factory))
        self.assertTrue(verifyObject(ILoggingContext, factory))
L{protocol.Factory} instances provide both L{IProtocolFactory} and
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/test/test_protocols.py/FactoryTests.test_interfaces