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

        self.assertEqual("SomeKindOfFactory", SomeKindOfFactory().logPrefix())
Q2Q instances should only be created by Q2QService.  See
dataset/ETHPy150Open twisted/twisted/twisted/internet/test/test_protocol.py/FactoryTests.test_logPrefix--crossover with--dataset/ETHPy150Open twisted/vertex/vertex/q2q.py/Q2Q.__init__