public function testGetBackupWithInvalidFile()
{
$bad_file_name = 'no-file.tar.gz';
$this->backups->expects($this->once())->method('getBackupByFileName')->with($this->equalTo($bad_file_name))->will($this->throwException(new TerminusNotFoundException()));
$this->setExpectedException(TerminusNotFoundException::class);
$this->command->getBackup('mysite.dev', ['file' => $bad_file_name]);
}