public function testLogInWithEmail()
{
$email = "[email protected]";
$this->tokens->expects($this->once())->method('get')->with($this->equalTo($email))->willReturn($this->token);
$this->logger->expects($this->once())->method('log')->with($this->equalTo('notice'), $this->equalTo('Logging in via machine token.'));
$this->token->expects($this->once())->method('logIn')->with();
$out = $this->command->logIn(compact('email'));
$this->assertNull($out);
}