def test_logPrefix(self):
        class SomeKindOfFactory(protocol.Factory):
            pass

        self.assertEqual("SomeKindOfFactory", SomeKindOfFactory().logPrefix())
L{protocol.Factory.logPrefix} returns the name of the factory class.
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/test/test_protocols.py/FactoryTests.test_logPrefix