public function PHP_CodeCoverageTest::testMerge2 in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/php-code-coverage/tests/PHP/CodeCoverageTest.php \PHP_CodeCoverageTest::testMerge2()
@covers PHP_CodeCoverage::getData @covers PHP_CodeCoverage::merge
File
- vendor/
phpunit/ php-code-coverage/ tests/ PHP/ CodeCoverageTest.php, line 307
Class
- PHP_CodeCoverageTest
- Tests for the PHP_CodeCoverage class.
Code
public function testMerge2() {
$coverage = new PHP_CodeCoverage($this
->getMock('PHP_CodeCoverage_Driver_Xdebug'), new PHP_CodeCoverage_Filter());
$coverage
->merge($this
->getCoverageForBankAccount());
$this
->assertEquals($this
->getExpectedDataArrayForBankAccount(), $coverage
->getData());
}