setCoverage() public method

public setCoverage ( mageekguy\atoum\score\coverage $coverage = null )
$coverage mageekguy\atoum\score\coverage
コード例 #1
0
ファイル: score.php プロジェクト: xihewang/atoum
 public function testSetCoverage()
 {
     $this->if($score = new atoum\score())->then->object($score->setCoverage($coverage = new atoum\score\coverage()))->isIdenticalTo($score)->object($score->getCoverage())->isIdenticalTo($coverage);
 }