public function PHP_Token_ClosureTest::testGetLine in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/phpunit/php-token-stream/tests/Token/ClosureTest.php \PHP_Token_ClosureTest::testGetLine()
@covers PHP_Token::getLine
File
- vendor/
phpunit/ php-token-stream/ tests/ Token/ ClosureTest.php, line 67
Class
- PHP_Token_ClosureTest
- Tests for the PHP_Token_FUNCTION class.
Code
public function testGetLine() {
$this
->assertEquals(2, $this->functions[0]
->getLine());
$this
->assertEquals(3, $this->functions[1]
->getLine());
$this
->assertEquals(4, $this->functions[2]
->getLine());
$this
->assertEquals(5, $this->functions[3]
->getLine());
}