mageekguy\atoum\runner::resetTestPaths PHP Method

resetTestPaths() public method

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

Usage Example

示例#1
0
 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