You are here

public function Extensions_RepeatedTestTest::testRepeatedNegative in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/tests/Extensions/RepeatedTestTest.php \Extensions_RepeatedTestTest::testRepeatedNegative()

File

vendor/phpunit/phpunit/tests/Extensions/RepeatedTestTest.php, line 54

Class

Extensions_RepeatedTestTest
@since Class available since Release 2.0.0 @covers PHPUnit_Extensions_RepeatedTest

Code

public function testRepeatedNegative() {
  try {
    $test = new PHPUnit_Extensions_RepeatedTest($this->suite, -1);
  } catch (Exception $e) {
    return;
  }
  $this
    ->fail('Should throw an Exception');
}