public function modifySetsProperty() { $form = Form::create(); $form->modify(array('name' => 'test')); $this->assertEquals('test', $form->getName()); }