Exemplo n.º 1
0
 public function testConstructForm()
 {
     $form = new Admin_Form_Document_File();
     $this->assertEquals(0, count($form->getElements()));
     $this->assertEquals(0, count($form->getSubForms()));
     $this->assertEquals(1, count($form->getDecorators()));
     $this->assertNotNull($form->getDecorator('ViewScript'));
 }