public static function RequirementsClassBeforeClassHookTest::setUpBeforeClass in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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.');
}