BeforeAndAfterTest.php in Zircon Profile 8.0
File
vendor/phpunit/phpunit/tests/_files/BeforeAndAfterTest.php
View source
<?php
class BeforeAndAfterTest extends PHPUnit_Framework_TestCase {
public static $beforeWasRun;
public static $afterWasRun;
public static function resetProperties() {
self::$beforeWasRun = 0;
self::$afterWasRun = 0;
}
public function initialSetup() {
self::$beforeWasRun++;
}
public function finalTeardown() {
self::$afterWasRun++;
}
public function test1() {
}
public function test2() {
}
}