public function Extensions_RepeatedTestTest::testRepeatedOnce in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/phpunit/tests/Extensions/RepeatedTestTest.php \Extensions_RepeatedTestTest::testRepeatedOnce()
File
- vendor/
phpunit/ phpunit/ tests/ Extensions/ RepeatedTestTest.php, line 27
Class
- Extensions_RepeatedTestTest
- @since Class available since Release 2.0.0 @covers PHPUnit_Extensions_RepeatedTest
Code
public function testRepeatedOnce() {
$test = new PHPUnit_Extensions_RepeatedTest($this->suite, 1);
$this
->assertEquals(2, count($test));
$result = $test
->run();
$this
->assertEquals(2, count($result));
}