public function testCreateBackupFailure()
{
$this->environment->id = 'env_id';
$this->backups->expects($this->once())->method('create')->with($this->equalTo(['element' => null, 'keep-for' => 365]))->will($this->throwException(new TerminusException()));
$this->logger->expects($this->never())->method('log');
$this->workflow->expects($this->never())->method('wait');
$this->setExpectedException(TerminusException::class);
$out = $this->command->create("mysite.{$this->environment->id}");
$this->assertNull($out);
}