public function PHP_Token_IncludeTest::testGetIncludes in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/php-token-stream/tests/Token/IncludeTest.php \PHP_Token_IncludeTest::testGetIncludes()
@covers PHP_Token_Includes::getName @covers PHP_Token_Includes::getType
File
- vendor/
phpunit/ php-token-stream/ tests/ Token/ IncludeTest.php, line 37
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 testGetIncludes() {
$this
->assertSame(array(
'test4.php',
'test3.php',
'test2.php',
'test1.php',
), $this->ts
->getIncludes());
}