/**
* @group disconnected
*/
public function testCountProcessors()
{
$processors = array($this->getMock('Predis\\Command\\Processor\\ProcessorInterface'), $this->getMock('Predis\\Command\\Processor\\ProcessorInterface'));
$chain = new ProcessorChain($processors);
$this->assertEquals(2, $chain->count());
}