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); } }