public function PHPUnit_Framework_TestCase::setInIsolation

@since Method available since Release 3.4.0

Parameters

boolean $inIsolation:

Throws

PHPUnit_Framework_Exception

File

drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/TestCase.php, line 1153

Class

PHPUnit_Framework_TestCase
A TestCase defines the fixture to run multiple tests.

Code

public function setInIsolation($inIsolation) {
  if (is_bool($inIsolation)) {
    $this->inIsolation = $inIsolation;
  }
  else {
    throw PHPUnit_Util_InvalidArgumentHelper::factory(1, 'boolean');
  }
}