mageekguy\atoum\runner::resetTestPaths PHP Метод

resetTestPaths() публичный Метод

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