mageekguy\atoum\runner::setTestPaths PHP Method

setTestPaths() public method

public setTestPaths ( array $testPaths )
$testPaths array
    public function setTestPaths(array $testPaths)
    {
        $this->testPaths = $testPaths;
        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