You are here

protected function ExceptionInTearDownTest::tearDown in Zircon Profile 8

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

Tears down the fixture, for example, close a network connection. This method is called after a test is executed.

Overrides PHPUnit_Framework_TestCase::tearDown

File

vendor/phpunit/phpunit/tests/_files/ExceptionInTearDownTest.php, line 30

Class

ExceptionInTearDownTest

Code

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