Example #1
0
 public function testSetCodeCoverageCloverPath()
 {
     $this->given($task = new testedClass())->then->object($task->setCodeCoverageCloverPath($path = uniqid()))->isIdenticalTo($task)->string($task->getCodeCoverageCloverPath())->isEqualTo($path)->object($task->setCodeCoverageCloverPath($path = rand(1, PHP_INT_MAX)))->isIdenticalTo($task)->string($task->getCodeCoverageCloverPath())->isEqualTo((string) $path);
 }