/**
* @group disconnected
*/
public function testAcceptsCustomConnectionFactory()
{
$factory = $this->getMock('Predis\\Connection\\FactoryInterface');
$cluster = new RedisCluster($factory);
$this->assertSame($factory, $cluster->getConnectionFactory());
}