protected function configure()
 {
     $this->setLogToConsole(false);
     // This should throw the exception that we are looking for
     parent::configure();
     $this->setName('test:uninitialized_runtime_config')->setDescription('This command should throw an exception because we have used a method that relies on the ' . 'RuntimeConfig before the RuntimeConfig object is initialised in parent::configure()');
 }
 protected function configure()
 {
     parent::configure();
     $this->setName('test:execute_config')->setDescription('This command calls all the methods that allow the config of the BaseCommand to be changed ' . 'during execution');
 }
 protected function initialize(InputInterface $input, OutputInterface $output)
 {
     $this->pushLogMessageOnPreInitQueue(Logger::EMERGENCY, 'This was logged in before parent::initialize()');
     parent::initialize($input, $output);
 }
 public function testDefaultLogLevelName()
 {
     $this->assertEquals('WARNING', $this->command->getLevelName());
 }
 protected function configure()
 {
     parent::configure();
     $this->setName('test:no_parent_initialize')->setDescription('This command overrides the initialize function without calling the parent version of the function');
 }
 protected function configure()
 {
     parent::configure();
     $this->setName('test:logging')->setDescription('This command makes one log entry for each logging level');
 }
 protected function initialize(InputInterface $input, OutputInterface $output)
 {
     $this->setAllowMultipleExecution(true);
     parent::initialize($input, $output);
 }
 protected function configure()
 {
     parent::configure();
     $this->setName('test:hello_world')->setDescription('This command makes does not explicitly make use of any of the features of the bundle. ' . 'It simply out puts a traditional "Hello World" string.');
 }