/**
  * testTraitReferenceHasExpectedEndColumn
  *
  * @param \PDepend\Source\AST\ASTTraitReference $reference
  *
  * @return void
  * @depends testTraitReference
  */
 public function testTraitReferenceHasExpectedEndColumn($reference)
 {
     $this->assertEquals(36, $reference->getEndColumn());
 }
 /**
  * Collects all directly defined methods or method aliases for the given
  * {@link \PDepend\Source\AST\ASTTraitReference}
  *
  * @param \PDepend\Source\AST\ASTTraitReference $reference Context trait reference.
  *
  * @return void
  */
 private function collectMethods(ASTTraitReference $reference)
 {
     foreach ($reference->getType()->getAllMethods() as $method) {
         foreach ($this->getAliasesFor($method) as $alias) {
             $this->allMethods[] = $alias;
         }
     }
 }