예제 #1
0
파일: phing.php 프로젝트: atoum/atoum
 public function testHandleEvent()
 {
     $this->if($field = new testedClass())->then->boolean($field->handleEvent(atoum\runner::runStart, new atoum\runner()))->isFalse()->variable($field->getCoverage())->isNull()->boolean($field->handleEvent(atoum\runner::runStop, $runner = new atoum\runner()))->isTrue()->object($field->getCoverage())->isIdenticalTo($runner->getScore()->getCoverage());
 }