%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/rental/vendor/phpunit/phpunit/tests/Regression/GitHub/498/
Upload File :
Create Path :
Current File : /var/www/html/rental/vendor/phpunit/phpunit/tests/Regression/GitHub/498/Issue498Test.php

<?php

class Issue498Test extends PHPUnit_Framework_TestCase
{
    /**
     * @test
     * @dataProvider shouldBeTrueDataProvider
     * @group falseOnly
     */
    public function shouldBeTrue($testData)
    {
        $this->assertTrue(true);
    }

    /**
     * @test
     * @dataProvider shouldBeFalseDataProvider
     * @group trueOnly
     */
    public function shouldBeFalse($testData)
    {
        $this->assertFalse(false);
    }

    public function shouldBeTrueDataProvider()
    {

        //throw new Exception("Can't create the data");
        return array(
            array(true),
            array(false)
        );
    }

    public function shouldBeFalseDataProvider()
    {
        throw new Exception("Can't create the data");

        return array(
            array(true),
            array(false)
        );
    }
}

Zerion Mini Shell 1.0