예제 #1
0
파일: coverage.php 프로젝트: xihewang/atoum
 public function testIsInExcludedMethods()
 {
     $this->if($coverage = new testedClass())->then->boolean($coverage->isInExcludedMethods(uniqid()))->isFalse()->if($coverage->excludeMethod($method = uniqid()))->then->boolean($coverage->isInExcludedMethods(uniqid()))->isFalse()->boolean($coverage->isInExcludedMethods($method))->isTrue()->if($coverage->excludeMethod('/.+/'))->then->boolean($coverage->isInExcludedMethods(uniqid()))->isTrue();
 }