public function testSetCodeCoverageReportPath() { $this->given($task = new testedClass())->then->object($task->setCodeCoverageReportPath($path = uniqid()))->isIdenticalTo($task)->string($task->getCodeCoverageReportPath())->isEqualTo($path)->object($task->setCodeCoverageReportPath($path = rand(1, PHP_INT_MAX)))->isIdenticalTo($task)->string($task->getCodeCoverageReportPath())->isEqualTo((string) $path); }