/**
  * @param integer $lineNumber
  */
 public function addLine($lineNumber, Line $line)
 {
     if ($line->isClass()) {
         $line = new DynamicClassnameCoveredLine($line);
         $this->classLine = $line;
     }
     parent::addLine($lineNumber, $line);
 }
 private function generateCoverageInformation(Line $line)
 {
     if (!$line->isExecutable()) {
         return null;
     }
     if (!$line->isNeccessary()) {
         return array();
     }
     return $line->getCoverage();
 }
 /**
  * @param Line $line
  * @param array $tests
  */
 public function populateLine(Line $line, array $tests = null)
 {
     $line->setExecutable(!is_null($tests));
     if (is_null($tests)) {
         return;
     }
     foreach ($tests as $test) {
         $line->addCoverage($test);
     }
 }
 public function isConstructor()
 {
     return $this->line->isConstructor();
 }