'Arguments passed to the factory are passed to protocol on
instantiation.'

def test_buildProtocolFactoryArguments(self):

    xs = self.factory.buildProtocol(None)
    self.assertEqual((None,), xs.args)
    self.assertEqual({'test': None}, xs.kwargs)
