/**
  * @return bool
  */
 public function allowOverwrite()
 {
     return $this->cliOptions->isSwitch('force');
 }
 /**
  * @dataProvider allowOverwriteProvider
  *
  * @param bool $switch
  */
 public function testAllowOverwrite($switch)
 {
     $this->cliOptionsProphecy->isSwitch('force')->willReturn($switch);
     $config = new SkelCommandConfig($this->cliOptionsProphecy->reveal(), '/tmp/');
     $this->assertSame($switch, $config->allowOverwrite());
 }
 /**
  * @return bool
  */
 public function doNotAddToPhiveXml()
 {
     return $this->cliOptions->isSwitch('temporary');
 }