public function testCloneFiles()
{
$this->environment->expects($this->once())->method('getName')->willReturn('dev');
$this->environment->expects($this->once())->method('cloneFiles')->willReturn($this->workflow);
$this->workflow->expects($this->once())->method('checkProgress')->willReturn(true);
$this->workflow->expects($this->once())->method('getMessage')->willReturn('successful workflow');
$this->logger->expects($this->at(0))->method('log')->with($this->equalTo('notice'), $this->equalTo("Cloning files from {from_name} environment to {target_env} environment"), $this->equalTo(['from_name' => 'dev', 'target_env' => 'test']));
$this->logger->expects($this->at(1))->method('log')->with($this->equalTo('notice'), $this->equalTo('successful workflow'));
$this->command->cloneContent('mysite.dev', 'test', ['files-only' => true]);
}