예제 #1
0
파일: coverage.php 프로젝트: xihewang/atoum
 public function testResetExcludedMethods()
 {
     $this->if($coverage = new testedClass())->then->object($coverage->resetExcludedMethods())->isIdenticalTo($coverage)->array($coverage->getExcludedMethods())->isEmpty()->if($coverage->excludeMethod(uniqid()))->then->object($coverage->resetExcludedMethods())->isIdenticalTo($coverage)->array($coverage->getExcludedMethods())->isEmpty();
 }