/** * @group disconnected */ public function testRemoveProcessorFromEmptyChain() { $processor = $this->getMock('Predis\\Commands\\Processors\\ICommandProcessor'); $chain = new ProcessorChain(); $this->assertEmpty($chain->getProcessors()); $chain->remove($processor); $this->assertEmpty($chain->getProcessors()); }