function test_getFilePathToMDB2Schema() { $oManager = new OX_Plugin_ComponentGroupManager(); $path = $oManager->getFilePathToMDB2Schema('testplugin', 'testschema'); $confpath = $GLOBALS['_MAX']['CONF']['pluginPaths']['packages']; $this->assertEqual($path, MAX_PATH . $confpath . 'testplugin/etc/testschema.xml'); }