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