public function testDeployLive()
{
$this->environment->id = 'live';
$this->environment->expects($this->once())->method('isInitialized')->willReturn(true);
$this->environment->expects($this->once())->method('hasDeployableCode')->willReturn(true);
$this->environment->expects($this->once())->method('deploy')->willReturn($this->workflow)->with(['updatedb' => 1, 'clear_cache' => 1, 'annotation' => 'Deploy from Terminus']);
$this->workflow->expects($this->once())->method('checkProgress')->with()->willReturn(true);
// Run the deploy.
$this->command->deploy('mysite.live', ['sync-content' => true, 'note' => 'Deploy from Terminus', 'cc' => true, 'updatedb' => true]);
}