You are here

public function PHP_CodeCoverageTest::testSetCacheTokens in Zircon Profile 8

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

@covers PHP_CodeCoverage::setCacheTokens

File

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

Class

PHP_CodeCoverageTest
Tests for the PHP_CodeCoverage class.

Code

public function testSetCacheTokens() {
  $this->coverage
    ->setCacheTokens(true);
  $this
    ->assertAttributeEquals(true, 'cacheTokens', $this->coverage);
}