function it_should_execute_the_compression_command(Compressor $compressor, ShellProcessor $shellProcessor)
 {
     $compressor->getCompressCommandLine('path')->willReturn('compress path');
     $shellProcessor->process('compress path')->shouldBeCalled();
     $this->beConstructedWith($compressor, 'path', $shellProcessor);
     $this->execute();
 }
 /**
  * @throws \BackupManager\ShellProcessing\ShellProcessFailed
  */
 public function execute()
 {
     return $this->shellProcessor->process($this->compressor->getCompressCommandLine($this->sourcePath));
 }