Esempio n. 1
0
 public function testRenderAllFormelements()
 {
     $this->form->addElement('textarea');
     $formelements_html_expected = CR . '<div class="formline"><textarea id="textarea-formelement-0"></textarea></div>' . CR;
     $formelements_html = $this->form->renderAllFormelements();
     $this->assertFalse(empty($formelements_html));
     $this->assertEqual($formelements_html, $formelements_html_expected);
 }