public function testWipe()
{
$site_name = 'site_name';
$this->environment->id = 'env_id';
$message = 'successful workflow';
$this->workflow->expects($this->once())->method('checkProgress')->with()->willReturn(true);
$this->workflow->expects($this->once())->method('getMessage')->with()->willReturn($message);
$this->site->expects($this->once())->method('get')->with($this->equalTo('name'))->willReturn($site_name);
$this->environment->expects($this->once())->method('wipe')->willReturn($this->workflow);
$this->logger->expects($this->at(0))->method('log')->with($this->equalTo('notice'), $this->equalTo('Wiping the "{env}" environment of "{site}"'), $this->equalTo(['site' => $site_name, 'env' => $this->environment->id]));
$this->logger->expects($this->at(1))->method('log')->with($this->equalTo('notice'), $this->equalTo($message));
$this->command = new WipeCommand();
$this->command->setSites($this->sites);
$this->command->setLogger($this->logger);
$out = $this->command->wipe("{$site_name}.{$this->environment->id}");
$this->assertNull($out);
}