public function PHP_CodeCoverageTest::testClear in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/php-code-coverage/tests/PHP/CodeCoverageTest.php \PHP_CodeCoverageTest::testClear()
@covers PHP_CodeCoverage::clear
File
- vendor/
phpunit/ php-code-coverage/ tests/ PHP/ CodeCoverageTest.php, line 244
Class
- PHP_CodeCoverageTest
- Tests for the PHP_CodeCoverage class.
Code
public function testClear() {
$this->coverage
->clear();
$this
->assertAttributeEquals(null, 'currentId', $this->coverage);
$this
->assertAttributeEquals(array(), 'data', $this->coverage);
$this
->assertAttributeEquals(array(), 'tests', $this->coverage);
}