/** * Tests the getActiveFilters method. * * @since 3.4 * * @return void * * @testdox Active filters with numeric values as state are returned correctly */ public function testActiveFiltersWithNumericValuesAsStateAreReturned() { $this->object->setState('filter.field2', 5); $this->assertSame(array('field2' => 5), $this->object->getActiveFilters()); }