Inheritance: extends TerminusModel, implements Pantheon\Terminus\Session\SessionAwareInterface, implements Robo\Contract\ConfigAwareInterface, implements Pantheon\Terminus\DataStore\DataStoreAwareInterface, use trait Pantheon\Terminus\Session\SessionAwareTrait, use trait Robo\Common\ConfigAwareTrait, use trait Pantheon\Terminus\DataStore\DataStoreAwareTrait
 /**
  * Tests the auth:login command when no info is given but a single machine token has been saved
  */
 public function testLogInWithSoloSavedToken()
 {
     $email = "*****@*****.**";
     $this->tokens->expects($this->once())->method('all')->with()->willReturn([$this->token]);
     $this->token->expects($this->once())->method('get')->with($this->equalTo('email'))->willReturn($email);
     $this->logger->expects($this->exactly(2))->method('log')->withConsecutive([$this->equalTo('notice'), $this->equalTo('Found a machine token for {email}.'), $this->equalTo(compact('email'))], [$this->equalTo('notice'), $this->equalTo('Logging in via machine token.')]);
     $this->token->expects($this->once())->method('logIn');
     $out = $this->command->logIn();
     $this->assertNull($out);
 }