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