public function PHP_Token_ClassTest::testIssue30 in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/phpunit/php-token-stream/tests/Token/ClassTest.php \PHP_Token_ClassTest::testIssue30()
File
- vendor/
phpunit/ php-token-stream/ tests/ Token/ ClassTest.php, line 79
Class
- PHP_Token_ClassTest
- Tests for the PHP_Token_CLASS class.
Code
public function testIssue30() {
$ts = new PHP_Token_Stream(TEST_FILES_PATH . 'issue30.php');
$this
->assertCount(1, $ts
->getClasses());
}