function test_putDataObjects() { $oPluginManager = new OX_Plugin_ComponentGroupManager(); $oPluginManager->pathPackages = $this->testpathPackages; $outputDir = MAX_PATH . '/var/'; $aSchema = array('mdb2schema' => 'tables_testPlugin', 'dataobjects' => array(0 => 'Testplugin_table.php')); $oPluginManager->_putDataObjects('testPlugin', $aSchema, $outputDir); $this->assertTrue(file_exists($outputDir . 'Testplugin_table.php')); @unlink($outputDir . 'Testplugin_table.php'); }