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