You are here

public static function RequirementsClassBeforeClassHookTest::setUpBeforeClass in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/phpunit/phpunit/tests/_files/RequirementsClassBeforeClassHookTest.php \RequirementsClassBeforeClassHookTest::setUpBeforeClass()

This method is called before the first test of this test class is run.

@since Method available since Release 3.4.0

Overrides PHPUnit_Framework_TestCase::setUpBeforeClass

File

vendor/phpunit/phpunit/tests/_files/RequirementsClassBeforeClassHookTest.php, line 8

Class

RequirementsClassBeforeClassHookTest
@requires extension nonExistingExtension

Code

public static function setUpBeforeClass() {
  throw new Exception(__METHOD__ . ' should not be called because of class requirements.');
}