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