public function testSetValueWithArray() { $this->element->setAttribute('multiple', true); $this->element->setValue($this->values->toArray()); $this->assertEquals(array(1, 2), $this->element->getValue()); }