/**
  * @param MethodDeprecation $methodDeprecation
  */
 public function addMethodDeprecation(MethodDeprecation $methodDeprecation)
 {
     if (!isset($this->methodDeprecations[$methodDeprecation->parentName()])) {
         $this->methodDeprecations[$methodDeprecation->parentName()] = array();
     }
     $this->methodDeprecations[$methodDeprecation->parentName()][$methodDeprecation->name()] = $methodDeprecation;
 }
 public function testGetComment()
 {
     $methodDeprecation = new MethodDeprecation('className', 'methodName', 'comment');
     $this->assertSame('comment', $methodDeprecation->comment());
 }