public function testCommandWithConfigCorrectConfig()
 {
     $this->assertAttributeEquals(['config_key' => 'config_value'], 'config', $this->command_stub_with_config);
     $this->assertEquals(['config_key' => 'config_value'], $this->command_stub_with_config->getConfig(null));
     $this->assertEquals(['config_key' => 'config_value'], $this->command_stub_with_config->getConfig());
     $this->assertEquals('config_value', $this->command_stub_with_config->getConfig('config_key'));
     $this->assertEquals(null, $this->command_stub_with_config->getConfig('not_config_key'));
 }
 /**
  * Make sure the version number is in the format x.x.x, x.x or x
  */
 public function testVersionNumberFormat()
 {
     $this->assertRegExp('/^(\\d+\\.)?(\\d+\\.)?(\\d+)$/', $this->command->getVersion());
 }