예제 #1
0
 public function testRemoveToken()
 {
     $this->session->expects($this->once())->method('remove')->with('requesttoken');
     $this->sessionStorage->removeToken();
 }
예제 #2
0
 /**
  * Remove the current token from the storage.
  */
 public function removeToken()
 {
     $this->sessionStorage->removeToken();
 }