public function PHP_Token_ClosureTest::testGetEndLine 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::testGetEndLine()
@covers PHP_TokenWithScope::getEndLine
File
- vendor/
phpunit/ php-token-stream/ tests/ Token/ ClosureTest.php, line 78
Class
- PHP_Token_ClosureTest
- Tests for the PHP_Token_FUNCTION class.
Code
public function testGetEndLine() {
$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());
}