Exemple #1
0
 public function testSettingDefaultOptionsAfterwards()
 {
     $filter = new CallbackFilter(array($this, 'objectCallback'));
     $filter->setOptions('options');
     $this->assertEquals('options', $filter->getOptions());
     $this->assertEquals('objectCallback-test', $filter('test'));
 }