Inheritance: extends atou\atoum
Beispiel #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);
 }
Beispiel #2
0
 public function testTelemetryEnabled()
 {
     $this->given($task = new testedClass())->then->boolean($task->telemetryEnabled())->isFalse()->if($task->setTelemetry(true))->then->boolean($task->telemetryEnabled())->isTrue();
 }