You are here

public function Extensions_RepeatedTestTest::testRepeatedZero in Zircon Profile 8.0

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

File

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

Class

Extensions_RepeatedTestTest
@since Class available since Release 2.0.0 @covers PHPUnit_Extensions_RepeatedTest

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));
}