protected function ExceptionInAssertPreConditionsTest::assertPreConditions

Performs assertions shared by all tests of a test case.

This method is called before the execution of a test starts and after setUp() is called.

@since Method available since Release 3.2.8

Overrides PHPUnit_Framework_TestCase::assertPreConditions

File

drupal/core/vendor/phpunit/phpunit/Tests/_files/ExceptionInAssertPreConditionsTest.php, line 15

Class

ExceptionInAssertPreConditionsTest

Code

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