You are here

public function PHP_CodeCoverage_Report_CloverTest::testCloverForClassWithAnonymousFunction in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 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()));
}