public function BlacklistTest::testSubclassesCanBeBlacklisted in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/sebastian/global-state/tests/BlacklistTest.php \SebastianBergmann\GlobalState\BlacklistTest::testSubclassesCanBeBlacklisted()
File
- vendor/
sebastian/ global-state/ tests/ BlacklistTest.php, line 99
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\GlobalStateCode
public function testSubclassesCanBeBlacklisted() {
$this->blacklist
->addSubclassesOf('SebastianBergmann\\GlobalState\\TestFixture\\BlacklistedClass');
$this
->assertTrue($this->blacklist
->isStaticAttributeBlacklisted('SebastianBergmann\\GlobalState\\TestFixture\\BlacklistedChildClass', 'attribute'));
}