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

public isRerunEnabled ( )
Пример #1
0
 public function reRunSuite()
 {
     if ($this->io->isRerunEnabled()) {
         $this->decoratedRerunner->reRunSuite();
     }
 }
Пример #2
0
 function it_does_not_rerun_the_suite_if_it_is_disabled_in_the_config(ConsoleIO $io, ReRunner $decoratedReRunner)
 {
     $io->isRerunEnabled()->willReturn(false);
     $this->reRunSuite();
     $decoratedReRunner->reRunSuite()->shouldNotHaveBeenCalled();
 }