Пример #1
0
 public function testCommandRun()
 {
     $runCommand = 'php artisan';
     $this->output->shouldReceive('writeln')->once()->with('     <info>' . $this->commandName . '</info>: ' . $runCommand);
     $debugger = new Debugger($this->optionReader, $this->output);
     $debugger->commandRun($this->scheduledCommand, $runCommand);
 }