* @defgroup plugins_oaiMetadataFormats_dc_tests Dublin Core OAI Plugin
 */
/**
 * @file plugins/oaiMetadataFormats/dc/tests/OAIMetadataFormat_DCTest.php
 *
 * Copyright (c) 2014-2016 Simon Fraser University Library
 * Copyright (c) 2000-2016 John Willinsky
 * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
 *
 * @class OAIMetadataFormat_DCTest
 * @ingroup plugins_oaiMetadataFormats_dc_tests
 * @see OAIMetadataFormat_DC
 *
 * @brief Test class for OAIMetadataFormat_DC.
 */
require_mock_env('env2');
import('lib.pkp.tests.PKPTestCase');
import('lib.pkp.classes.oai.OAIStruct');
import('lib.pkp.classes.oai.OAIUtils');
import('plugins.oaiMetadataFormats.dc.OAIMetadataFormat_DC');
import('plugins.oaiMetadataFormats.dc.OAIMetadataFormatPlugin_DC');
class OAIMetadataFormat_DCTest extends PKPTestCase
{
    /**
     * @see PKPTestCase::getMockedDAOs()
     */
    protected function getMockedDAOs()
    {
        return array('AuthorDAO', 'OAIDAO', 'ArticleGalleyDAO', 'PublishedArticleDAO');
    }
    /**
/**
 * @file tests/functional/plugins/generic/sword/FunctionalSwordDepositTest.php
 *
 * Copyright (c) 2000-2013 John Willinsky
 * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
 *
 * @class FunctionalSwordDepositTest
 * @ingroup tests_functional_plugins_generic_sword
 * @see OJSSwordDeposit
 * @see SwordImportExportPlugin
 *
 * @brief Integration/Functional test for the SWORD plug-in
 * and its dependencies.
 */
require_mock_env('env1');
import('lib.pkp.tests.PKPTestCase');
import('classes.sword.OJSSwordDeposit');
import('lib.pkp.classes.core.PKPRouter');
import('lib.pkp.classes.core.PKPRequest');
class FunctionalSwordDepositTest extends PKPTestCase
{
    /**
     * @see PKPTestCase::getMockedRegistryKeys()
     */
    protected function getMockedRegistryKeys()
    {
        return array('request');
    }
    public function testDoi()
    {
 * @file tests/functional/plugins/importexport/pubIds/FunctionalPubIdsImportExportTest.inc.php
 *
 * Copyright (c) 2000-2011 John Willinsky
 * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
 *
 * @class FunctionalPubIdsImportExportTest
 * @ingroup tests_functional_plugins_importexport_pubIds
 *
 * @brief Test the pubIds import/exoprt plugin.
 *
 * FEATURE: Import and Export of the public identifiers
 *   AS A    journal manager
 *   I WANT  to be able to import and exoprt the public identifiers for issues, articles, galleys and supplementary files
 *   SO THAT already used public identifiers can be integrated and managed in the system.
 */
require_mock_env('lib/pkp/tests/mock');
import('lib.pkp.classes.core.PKPRouter');
import('lib.pkp.tests.functional.plugins.importexport.FunctionalImportExportBaseTestCase');
class FunctionalPubIdsImportExportTest extends FunctionalImportExportBaseTestCase
{
    /**
     * @see WebTestCase::getAffectedTables()
     */
    protected function getAffectedTables()
    {
        return array('articles', 'article_settings', 'article_galleys', 'article_galley_settings', 'article_supplementary_files', 'article_supp_file_settings', 'issues', 'issue_settings', 'plugin_settings');
    }
    /**
     * @see WebTestCase::setUp()
     */
    protected function setUp()