/** * Tests that the declaration has the expected end line value. * * @param \PDepend\Source\AST\ASTStringIndexExpression $declaration * * @return void * @depends testStaticVariableDeclaration */ public function testStaticVariableDeclarationHasExpectedEndLine($declaration) { $this->assertSame(5, $declaration->getEndLine()); }
/** * testStringIndexExpressionHasExpectedEndLine * * @param \PDepend\Source\AST\ASTStringIndexExpression $expr * * @return void * @depends testStringIndexExpression */ public function testStringIndexExpressionHasExpectedEndLine($expr) { $this->assertEquals(4, $expr->getEndLine()); }