/** * Test the populateFromArray() method. */ public function testPopulateFromArray() { $this->filter->populateFromArray(array('value' => 'xyz', 'name' => 'test')); $this->assertEquals('xyz', $this->filter->getValue()); $this->assertEquals('test', $this->filter->getName()); }