public function testRunWithoutProblems()
 {
     $input = $this->getMock('Symfony\\Component\\Console\\Input\\InputInterface');
     $output = $this->getMock('Symfony\\Component\\Console\\Output\\OutputInterface');
     $command = new SchedulerState();
     $command->setContainer(self::$DI['cli']);
     $command->execute($input, $output);
 }
Exemplo n.º 2
0
 public function testRunWithoutProblems()
 {
     $input = $this->getMock('Symfony\\Component\\Console\\Input\\InputInterface');
     $output = $this->getMock('Symfony\\Component\\Console\\Output\\OutputInterface');
     self::$DI['cli']['monolog'] = self::$DI['cli']->share(function () {
         return $this->createMonologMock();
     });
     $command = new SchedulerState();
     $command->setContainer(self::$DI['cli']);
     $command->execute($input, $output);
 }