protected function ExceptionInAssertPostConditionsTest::assertPostConditions

Performs assertions shared by all tests of a test case.

This method is called before the execution of a test ends and before tearDown() is called.

@since Method available since Release 3.2.8

Overrides PHPUnit_Framework_TestCase::assertPostConditions

File

drupal/core/vendor/phpunit/phpunit/Tests/_files/ExceptionInAssertPostConditionsTest.php, line 25

Class

ExceptionInAssertPostConditionsTest

Code

protected function assertPostConditions() {
  $this->assertPostConditions = TRUE;
  throw new Exception();
}