public function testConstructFromPostEmptyAndNoDocument() { $form = new Admin_Form_FileManager(); $form->constructFromPost(array(), null); $this->assertEquals(0, count($form->getSubForm('Files')->getSubForms())); }