public function testDisableCodeCoverage() { $this->if($adapter = new atoum\test\adapter())->and($adapter->extension_loaded = true)->and($test = new emptyTest($adapter))->then->boolean($test->codeCoverageIsEnabled())->isTrue()->object($test->disableCodeCoverage())->isIdenticalTo($test)->boolean($test->codeCoverageIsEnabled())->isFalse()->if($test->enableCodeCoverage())->then->boolean($test->codeCoverageIsEnabled())->isTrue()->object($test->disableCodeCoverage())->isIdenticalTo($test)->boolean($test->codeCoverageIsEnabled())->isFalse(); }