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

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

public canNotAddTest ( )
    public function canNotAddTest()
    {
        $this->canAddTest = false;
        return $this;
    }

Usage Example

Пример #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();
 }
runner