You are here

public function BlacklistTest::testGlobalVariableCanBeBlacklisted in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/sebastian/global-state/tests/BlacklistTest.php \SebastianBergmann\GlobalState\BlacklistTest::testGlobalVariableCanBeBlacklisted()

File

vendor/sebastian/global-state/tests/BlacklistTest.php, line 70

Class

BlacklistTest
@author Sebastian Bergmann <sebastian@phpunit.de> @copyright 2001-2014 Sebastian Bergmann <sebastian@phpunit.de> @license http://www.opensource.org/licenses/BSD-3-Clause The BSD 3-Clause License @link …

Namespace

SebastianBergmann\GlobalState

Code

public function testGlobalVariableCanBeBlacklisted() {
  $this->blacklist
    ->addGlobalVariable('variable');
  $this
    ->assertTrue($this->blacklist
    ->isGlobalVariableBlacklisted('variable'));
}