public function setUp() { Listr::setConfig($this->blogConfig); $this->filters = Listr::getFilters('blog'); }
/** * Filter cannot be created without label */ public function testFilterCannotBeCreatedWithoutLabel() { $this->setExpectedException('Exception', "Label needed for filter 'content'."); Listr::setConfig($this->configWithFilterWithoutLabel); }