public function testGetNonExistingToken() { $this->
expectException(TokenNotFoundException::
class);
$this->storage->
getToken('token_id'
);
} /**
* @depends testCheckToken
*/
public function testRemoveNonExistingToken() { $this->
assertNull($this->storage->
removeToken('token_id'
));
$this->
assertFalse($this->storage->
hasToken('token_id'
));
} /**
* @depends testCheckToken
*/
public function testRemoveExistingToken() { $this->storage->
setToken('token_id', 'TOKEN'
);
$this->
assertSame('TOKEN',
$this->storage->
removeToken('token_id'
));