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

public filter ( Predis\Configuration\OptionsInterface $options, $value )
$options Predis\Configuration\OptionsInterface
 /**
  * @group disconnected
  */
 public function testReturnsFalesOnValuesNotParsableAsBooleans()
 {
     $option = new ExceptionsOption();
     $options = $this->getMock('Predis\\Configuration\\OptionsInterface');
     $this->assertFalse($option->filter($options, new \stdClass()));
     $this->assertFalse($option->filter($options, 'invalid'));
 }