/** * @param string $themeName * @return ThemeMock */ private function createTheme($themeName) { $coreThemePlugin = new PluginMock($themeName); $coreThemePlugin->setIsTheme(true); $coreTheme = new ThemeMock($coreThemePlugin); $coreTheme->setStylesheet($this->getCoreThemeStylesheet()); $coreTheme->setJsFiles(array(self::ASSET_MANAGER_TEST_DIR . 'scripts/SimpleComments.js')); return $coreTheme; }