public function PHP_Token_FunctionTest::testGetEndLine in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/php-token-stream/tests/Token/FunctionTest.php \PHP_Token_FunctionTest::testGetEndLine()
@covers PHP_TokenWithScope::getEndLine
File
- vendor/
phpunit/ php-token-stream/ tests/ Token/ FunctionTest.php, line 89
Class
- PHP_Token_FunctionTest
- Tests for the PHP_Token_FUNCTION class.
Code
public function testGetEndLine() {
$this
->assertEquals(5, $this->functions[0]
->getEndLine());
$this
->assertEquals(12, $this->functions[1]
->getEndLine());
$this
->assertEquals(19, $this->functions[2]
->getEndLine());
$this
->assertEquals(23, $this->functions[3]
->getEndLine());
$this
->assertEquals(31, $this->functions[4]
->getEndLine());
}