public function testFalseFilter() { $file = new SplFileInfo(__FILE__); $fb = new cfhCompile_ClassIterator_FileInfo_FilterBroker(); $fb->attach($this); $this->acceptReturn = FALSE; $this->assertFalse($fb->accept($file)); $fb->detach($this); $this->assertTrue($fb->accept($file)); }
public function detachFilter(cfhCompile_ClassIterator_FileInfo_Filter_Interface $filter) { $this->filter->detach($filter); }