/**
  * @test override getTimeout set default option value
  */
 public function setTimeout()
 {
     $this->command->expects($this->any())->method('getDefaultTimeout')->will($this->returnValue(10));
     $this->command->__construct('dispatch');
     $this->assertEquals(10, $this->command->getDefinition()->getOption('timeout')->getDefault());
 }
 public function __construct($bandName = null, $defaultTimeout = 0)
 {
     $this->bandName = $bandName;
     $this->defaultTimeout = $defaultTimeout;
     parent::__construct();
 }