Example #1
0
 /**
  * testIsThisReturnsFalseForDifferentImage
  *
  * @return void
  * @covers PHP_Depend_Code_ASTVariable
  * @group pdepend
  * @group pdepend::ast
  * @group unittest
  */
 public function testIsThisReturnsFalseForDifferentImage()
 {
     $variable = new PHP_Depend_Code_ASTVariable('$foo');
     $this->assertFalse($variable->isThis());
 }
Example #2
0
 /**
  * testVariableHasExpectedEndColumn
  *
  * @param PHP_Depend_Code_ASTVariable $variable
  *
  * @return void
  * @depends testVariable
  */
 public function testVariableHasExpectedEndColumn($variable)
 {
     $this->assertEquals(10, $variable->getEndColumn());
 }