Exemple #1
0
 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();
 }