/**
  * testStringIndexExpressionHasExpectedEndColumn
  *
  * @param PHP_Depend_Code_ASTStringIndexExpression $expr
  *
  * @return void
  * @depends testStringIndexExpression
  */
 public function testStringIndexExpressionHasExpectedEndColumn($expr)
 {
     $this->assertEquals(28, $expr->getEndColumn());
 }
 /**
  * testAcceptReturnsReturnValueOfVisitMethod
  *
  * @return void
  * @covers PHP_Depend_Code_ASTNode
  * @covers PHP_Depend_Code_ASTStringIndexExpression
  * @group pdepend
  * @group pdepend::ast
  * @group unittest
  */
 public function testAcceptReturnsReturnValueOfVisitMethod()
 {
     $visitor = $this->getMock('PHP_Depend_Code_ASTVisitorI');
     $visitor->expects($this->once())->method('__call')->with($this->equalTo('visitStringIndexExpression'))->will($this->returnValue(42));
     $expr = new PHP_Depend_Code_ASTStringIndexExpression();
     self::assertEquals(42, $expr->accept($visitor));
 }
 /**
  * Tests that the declaration has the expected end column value.
  *
  * @param PHP_Depend_Code_ASTStringIndexExpression $declaration
  *
  * @return void
  * @depends testStaticVariableDeclaration
  */
 public function testStaticVariableDeclarationHasExpectedEndColumn($declaration)
 {
     $this->assertSame(23, $declaration->getEndColumn());
 }