<?php
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */
namespace tests\verification\Tests;

use tests\util\MftfTestCase;

class SkippedGenerationTest extends MftfTestCase
{
    /**
     * Tests skipped test generation.
     *
     * @throws \Exception
     * @throws \Magento\FunctionalTestingFramework\Exceptions\TestReferenceException
     */
    public function testSkippedGeneration()
    {
        $this->generateAndCompareTest('SkippedTest');
    }

    /**
     * Tests skipped test generation does not generate hooks.
     *
     * @throws \Exception
     * @throws \Magento\FunctionalTestingFramework\Exceptions\TestReferenceException
     */
    public function testSkippedWithHooksGeneration()
    {
        $this->generateAndCompareTest('SkippedTestWithHooks');
    }

    /**
     * Tests skipped test with multiple issues generation.
     *
     * @throws \Exception
     * @throws \Magento\FunctionalTestingFramework\Exceptions\TestReferenceException
     */
    public function testMultipleSkippedIssuesGeneration()
    {
        $this->generateAndCompareTest('SkippedTestTwoIssues');
    }

    /**
     * Tests skipped test generation with no specified issues. Will be deprecated after MFTF 3.0.0
     *
     * @throws \Exception
     * @throws \Magento\FunctionalTestingFramework\Exceptions\TestReferenceException
     */
    public function testSkippedNoIssueGeneration()
    {
        $this->generateAndCompareTest('SkippedTestNoIssues');
    }
}