public function testRemoveCommand()
{
$message = 'message';
$this->user_membership->expects($this->once())->method('delete')->willReturn($this->workflow);
$this->workflow->expects($this->once())->method('checkProgress')->with()->willReturn(true);
$this->workflow->expects($this->once())->method('getMessage')->with()->willReturn($message);
$this->logger->expects($this->once())->method('log')->with($this->equalTo('notice'), $this->equalTo($message));
$out = $this->command->remove('mysite', '[email protected]');
$this->assertNull($out);
}