spec\PhpSpec\Listener\RerunListenerSpec::it_tells_the_rerunner_to_rerun_if_it_is_worth_doing_so PHP Метод

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

public it_tells_the_rerunner_to_rerun_if_it_is_worth_doing_so ( SuiteEvent $suiteEvent, PhpSpec\Process\ReRunner $reRunner )
$suiteEvent PhpSpec\Event\SuiteEvent
$reRunner PhpSpec\Process\ReRunner
    function it_tells_the_rerunner_to_rerun_if_it_is_worth_doing_so(SuiteEvent $suiteEvent, ReRunner $reRunner)
    {
        $suiteEvent->isWorthRerunning()->willReturn(true);
        $this->afterSuite($suiteEvent);
        $reRunner->reRunSuite()->shouldHaveBeenCalled();
    }