public function testApplyUpdatesNone()
{
$this->environment->id = 'dev';
$upstream = (object) ['remote_head' => '2f1c945d01cd03250e2b6668ad77bf24f54a5a56', 'ahead' => 1, 'update_log' => (object) []];
$this->upstream->expects($this->once())->method('getUpdates')->with()->willReturn($upstream);
$this->logger->expects($this->once())->method('log')->with($this->equalTo('warning'), $this->equalTo('There are no available updates for this site.'));
$this->environment->expects($this->never())->method('applyUpstreamUpdates');
$out = $this->command->applyUpstreamUpdates('123', ['accept-updates' => true, 'updatedb' => true]);
$this->assertNull($out);
}