/** * Test that the exists method works. * * @return void */ public function testExistsMethod() { $this->assertTrue($this->token->exists()); $token2 = new Token('username2'); $this->assertFalse($token2->exists()); }