You are here

public function PHP_CodeCoverageTest::testConstructor in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/phpunit/php-code-coverage/tests/PHP/CodeCoverageTest.php \PHP_CodeCoverageTest::testConstructor()

@covers PHP_CodeCoverage::__construct @covers PHP_CodeCoverage::filter

File

vendor/phpunit/php-code-coverage/tests/PHP/CodeCoverageTest.php, line 44

Class

PHP_CodeCoverageTest
Tests for the PHP_CodeCoverage class.

Code

public function testConstructor() {
  $this
    ->assertAttributeInstanceOf('PHP_CodeCoverage_Driver_Xdebug', 'driver', $this->coverage);
  $this
    ->assertAttributeInstanceOf('PHP_CodeCoverage_Filter', 'filter', $this->coverage);
}