/** * @param string $tokenId */ public function removeToken($tokenId) { $this->tokenManager->removeToken($tokenId); }
public function testRemoveToken() { $this->storage->expects($this->once())->method('removeToken')->with('token_id')->will($this->returnValue('REMOVED_TOKEN')); $this->assertSame('REMOVED_TOKEN', $this->manager->removeToken('token_id')); }