You are here

public function PHP_CodeCoverageTest::testSetCacheTokensThrowsExceptionForInvalidArgument 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::testSetCacheTokensThrowsExceptionForInvalidArgument()

@covers PHP_CodeCoverage::setCacheTokens @expectedException PHP_CodeCoverage_Exception

File

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

Class

PHP_CodeCoverageTest
Tests for the PHP_CodeCoverage class.

Code

public function testSetCacheTokensThrowsExceptionForInvalidArgument() {
  $this->coverage
    ->setCacheTokens(null);
}