Пример #1
0
 /**
  * @param string $tokenId
  */
 public function removeToken($tokenId)
 {
     $this->tokenManager->removeToken($tokenId);
 }
Пример #2
0
 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'));
 }