setScore() публичный Метод

public setScore ( test\score $score = null )
$score test\score
Пример #1
0
 public function run(atoum\test $test)
 {
     $currentTestMethod = $test->getCurrentMethod();
     if ($currentTestMethod !== null) {
         $testScore = $test->getScore();
         $test->setScore($this->score->reset())->runTestMethod($test->getCurrentMethod())->setScore($testScore);
     }
     return $this;
 }