You are here

protected function ExceptionInSetUpTest::setUp in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/tests/_files/ExceptionInSetUpTest.php \ExceptionInSetUpTest::setUp()

Sets up the fixture, for example, open a network connection. This method is called before a test is executed.

Overrides PHPUnit_Framework_TestCase::setUp

File

vendor/phpunit/phpunit/tests/_files/ExceptionInSetUpTest.php, line 10

Class

ExceptionInSetUpTest

Code

protected function setUp() {
  $this->setUp = true;
  throw new Exception();
}