public function Extensions_RepeatedTestTest::testRepeatedZero

File

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

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 testRepeatedZero() {
  $test = new PHPUnit_Extensions_RepeatedTest($this->suite, 0);
  $this
    ->assertEquals(0, count($test));
  $result = $test
    ->run();
  $this
    ->assertEquals(0, count($result));
}