def test_defaultBuildProtocol(self):
        class SomeProtocol(Protocol):
            pass
        f = Factory()
        f.protocol = SomeProtocol
        protocol = f.buildProtocol(None)
        self.assertIsInstance(protocol, SomeProtocol)
        self.assertIs(protocol.factory, f)
L{Factory.buildProtocol} by default constructs a protocol by calling
dataset/ETHPy150Open twisted/twisted/twisted/internet/test/test_protocol.py/FactoryTests.test_defaultBuildProtocol