mageekguy\atoum\runner::codeCoverageIsEnabled PHP Method

codeCoverageIsEnabled() public method

    public function codeCoverageIsEnabled()
    {
        return $this->codeCoverage;
    }

Usage Example

示例#1
0
 public function testDisableCodeCoverage()
 {
     $this->if($runner = new testedClass())->and($runner->enableCodeCoverage())->then->boolean($runner->codeCoverageIsEnabled())->isTrue()->object($runner->disableCodeCoverage())->isIdenticalTo($runner)->boolean($runner->codeCoverageIsEnabled())->isFalse();
 }
runner