mageekguy\atoum\runner::resetTestPaths PHP 메소드

resetTestPaths() 공개 메소드

public resetTestPaths ( )
    public function resetTestPaths()
    {
        $this->testPaths = array();
        return $this;
    }

Usage Example

예제 #1
0
파일: runner.php 프로젝트: ssgonchar/atoum
 public function testResetTestPaths()
 {
     $this->if($runner = new testedClass())->and($runner->setTestPaths(array(uniqid(), uniqid(), uniqid())))->then->object($runner->resetTestPaths())->isIdenticalTo($runner)->array($runner->getTestPaths())->isEmpty();
 }
runner