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