public function testFilters() { $this->assertFalse($this->context->hasFilters()); $this->assertNull($this->context->getFilters()); $filters = ConfigUtil::getInitialConfig(); $this->context->setFilters($filters); $this->assertTrue($this->context->hasFilters()); $this->assertEquals($filters, $this->context->getFilters()); $this->assertEquals($filters, $this->context->get(FiltersConfigExtra::NAME)); $this->context->setFilters(null); $this->assertTrue($this->context->hasFilters()); }