remove() публичный Метод

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