public function PHP_Token_IncludeTest::testGetIncludesCategory in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/phpunit/php-token-stream/tests/Token/IncludeTest.php \PHP_Token_IncludeTest::testGetIncludesCategory()
@covers PHP_Token_Includes::getName @covers PHP_Token_Includes::getType
File
- vendor/
phpunit/ php-token-stream/ tests/ Token/ IncludeTest.php, line 66
Class
- PHP_Token_IncludeTest
- Tests for the PHP_Token_REQUIRE_ONCE, PHP_Token_REQUIRE PHP_Token_INCLUDE_ONCE and PHP_Token_INCLUDE_ONCE classes.
Code
public function testGetIncludesCategory() {
$this
->assertSame(array(
'test4.php',
), $this->ts
->getIncludes(TRUE, 'require_once'));
}