public function testLoadForm2() { $this->writeConfig(); $cfgAdapter = new Enlight_Config_Adapter_File(array('configType' => 'ini', 'configDir' => Enlight_TestHelper::Instance()->TestPath('TempFiles'))); $formCfg = new Enlight_Config($this->testFile, array('adapter' => $cfgAdapter, 'allowModifications' => true)); $formCfg->read(); $form = new Enlight_Components_Form($formCfg->toArray()); $this->assertInstanceOf('Enlight_Components_Form', $form); }