Pantheon\Terminus\UnitTests\Commands\Auth\LogoutCommandTest::testLogInWithMachineToken PHP Method

testLogInWithMachineToken() public method

Tests the auth:logout command
    public function testLogInWithMachineToken()
    {
        $this->session->expects($this->once())->method('destroy')->with();
        $this->logger->expects($this->once())->method('log')->with($this->equalTo('notice'), $this->equalTo('You have been logged out of Pantheon.'));
        $out = $this->command->logOut();
        $this->assertNull($out);
    }