public function testSetAllValues() { $this->setExpectedException('\\Sympathy\\Form\\Exception'); $values = array('foo' => 'bar', 'x' => 'y'); $this->form->setAllValues($values); $result = $this->form->getValues(); $this->assertEquals($values, $result); }