public function testEnable()
{
$workflow = $this->getMockBuilder(Workflow::class)->disableOriginalConstructor()->getMock();
// workflow succeeded
$workflow->expects($this->once())->method('checkProgress')->with()->willReturn(true);
$workflow->expects($this->once())->method('getMessage')->with()->willReturn('successful workflow');
$this->new_relic->expects($this->once())->method('enable')->with();
$this->site->expects($this->once())->method('converge')->willReturn($workflow);
$this->logger->expects($this->at(0))->method('log')->with($this->equalTo('notice'), $this->equalTo('New Relic enabled. Converging bindings.'));
$this->logger->expects($this->at(1))->method('log')->with($this->equalTo('notice'), $this->equalTo('successful workflow'));
$out = $this->command->enable('mysite');
$this->assertNull($out);
}