Example #1
0
 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);
 }