public function Extensions_RepeatedTestTest::testRepeatedNegative

File

drupal/core/vendor/phpunit/phpunit/Tests/Extensions/RepeatedTestTest.php, line 96

Class

Extensions_RepeatedTestTest
@package PHPUnit @author Sebastian Bergmann <sebastian@phpunit.de> @copyright 2001-2013 Sebastian Bergmann <sebastian@phpunit.de> @license http://www.opensource.org/licenses/BSD-3-Clause The BSD 3-Clause License @link …

Code

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