BeforeClassAndAfterClassTest.php in Zircon Profile 8.0
File
vendor/phpunit/phpunit/tests/_files/BeforeClassAndAfterClassTest.php
View source
<?php
class BeforeClassAndAfterClassTest extends PHPUnit_Framework_TestCase {
public static $beforeClassWasRun = 0;
public static $afterClassWasRun = 0;
public static function resetProperties() {
self::$beforeClassWasRun = 0;
self::$afterClassWasRun = 0;
}
public static function initialClassSetup() {
self::$beforeClassWasRun++;
}
public static function finalClassTeardown() {
self::$afterClassWasRun++;
}
public function test1() {
}
public function test2() {
}
}