mageekguy\atoum\tests\units\scripts\runner::testShouldFailIfSkippedMethods PHP Method

testShouldFailIfSkippedMethods() public method

    public function testShouldFailIfSkippedMethods()
    {
        $this->if($script = new \mock\mageekguy\atoum\scripts\runner(uniqid()))->and($script->setRunner($runner = new \mock\mageekguy\atoum\runner()))->then->boolean($script->shouldFailIfSkippedMethods())->isFalse()->mock($runner)->call('shouldFailIfSkippedMethods')->once()->if($this->calling($runner)->shouldFailIfSkippedMethods = true)->then->boolean($script->shouldFailIfSkippedMethods())->isTrue()->if($this->calling($runner)->shouldFailIfSkippedMethods = false)->then->boolean($script->shouldFailIfSkippedMethods())->isFalse();
    }