public function PHP_Token_InterfaceTest::testGetPackageNamespaceIsEmptyForInterfacesThatAreNotWithinNamespaces in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/php-token-stream/tests/Token/InterfaceTest.php \PHP_Token_InterfaceTest::testGetPackageNamespaceIsEmptyForInterfacesThatAreNotWithinNamespaces()
File
- vendor/
phpunit/ php-token-stream/ tests/ Token/ InterfaceTest.php, line 161
Class
- PHP_Token_InterfaceTest
- Tests for the PHP_Token_INTERFACE class.
Code
public function testGetPackageNamespaceIsEmptyForInterfacesThatAreNotWithinNamespaces() {
foreach ($this->interfaces as $token) {
$package = $token
->getPackage();
$this
->assertSame("", $package['namespace']);
}
}