You are here

public function PHP_CodeCoverage_FilterTest::testAddingAFileToTheBlacklistWorks in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/php-code-coverage/tests/PHP/CodeCoverage/FilterTest.php \PHP_CodeCoverage_FilterTest::testAddingAFileToTheBlacklistWorks()

@covers PHP_CodeCoverage_Filter::addFileToBlacklist @covers PHP_CodeCoverage_Filter::getBlacklist

File

vendor/phpunit/php-code-coverage/tests/PHP/CodeCoverage/FilterTest.php, line 82

Class

PHP_CodeCoverage_FilterTest
Tests for the PHP_CodeCoverage_Filter class.

Code

public function testAddingAFileToTheBlacklistWorks() {
  $this->filter
    ->addFileToBlacklist($this->files[0]);
  $this
    ->assertEquals(array(
    $this->files[0],
  ), $this->filter
    ->getBlacklist());
}