Example #1
0
 /**
  * @covers Form::getControls
  */
 public function testAddControls()
 {
     $this->myForm->setValue('verify', 'required');
     $this->myForm->addControl('verify', new \Textbox('phone'));
     $this->assertArrayHasKey('verify', $this->myForm->getControls());
 }