Anons79 Mini Shell

Directory : /home/proudlyafrican/www/vendor/phpunit/phpunit/tests/_files/
Upload File :
Current File : //home/proudlyafrican/www/vendor/phpunit/phpunit/tests/_files/DataProviderFilterTest.php

<?php
class DataProviderFilterTest extends PHPUnit_Framework_TestCase
{
    /**
     * @dataProvider truthProvider
     */
    public function testTrue($truth)
    {
        $this->assertTrue($truth);
    }

    public static function truthProvider()
    {
        return [
           [true],
           [true],
           [true],
           [true]
        ];
    }

    /**
     * @dataProvider falseProvider
     */
    public function testFalse($false)
    {
        $this->assertFalse($false);
    }

    public static function falseProvider()
    {
        return [
          'false test'       => [false],
          'false test 2'     => [false],
          'other false test' => [false],
          'other false test2'=> [false]
        ];
    }
}

Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]