'If no pool is passed in to L{Agent.usingEndpointFactory}, a default
pool is constructed with no persistent connections.'

def test_endpointFactoryDefaultPool(self):

    agent = client.Agent.usingEndpointFactory(self.reactor, StubEndpointFactory())
    pool = agent._pool
    self.assertEqual((pool.__class__, pool.persistent, pool._reactor), (HTTPConnectionPool, False, agent._reactor))
