addTest() public method

public addTest ( $path )
Beispiel #1
0
 public function testCanNotAddTest()
 {
     $this->if($runner = new testedClass())->then->object($runner->canNotAddTest())->isIdenticalTo($runner)->if($runner->addTest(uniqid()))->then->array($runner->getTestPaths())->isEmpty()->if($runner->canAddTest())->then->object($runner->canNotAddTest())->isIdenticalTo($runner)->if($runner->addTest(uniqid()))->then->array($runner->getTestPaths())->isEmpty();
 }