public function PHP_CodeCoverage_Report_CloverTest::testCloverForClassWithAnonymousFunction in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/php-code-coverage/tests/PHP/CodeCoverage/Report/CloverTest.php \PHP_CodeCoverage_Report_CloverTest::testCloverForClassWithAnonymousFunction()
@covers PHP_CodeCoverage_Report_Clover
File
- vendor/
phpunit/ php-code-coverage/ tests/ PHP/ CodeCoverage/ Report/ CloverTest.php, line 57
Class
- PHP_CodeCoverage_Report_CloverTest
- Tests for the PHP_CodeCoverage_Report_Clover class.
Code
public function testCloverForClassWithAnonymousFunction() {
$clover = new PHP_CodeCoverage_Report_Clover();
$this
->assertStringMatchesFormatFile(TEST_FILES_PATH . 'class-with-anonymous-function-clover.xml', $clover
->process($this
->getCoverageForClassWithAnonymousFunction()));
}