You are here

public function Extensions_RepeatedTestTest::testRepeatedMoreThanOnce in Zircon Profile 8.0

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

File

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

Class

Extensions_RepeatedTestTest
@since Class available since Release 2.0.0 @covers PHPUnit_Extensions_RepeatedTest

Code

public function testRepeatedMoreThanOnce() {
  $test = new PHPUnit_Extensions_RepeatedTest($this->suite, 3);
  $this
    ->assertEquals(6, count($test));
  $result = $test
    ->run();
  $this
    ->assertEquals(6, count($result));
}