Exemplo n.º 1
0
 public function testGetter()
 {
     $this->assertEquals('psx_session', $this->sess->getName());
     $this->assertEquals('PSX\\Session', $this->sess->getSessionTokenKey());
     // token is always the same since we are on CLI and have no user agent
     // or remote ip
     $this->assertEquals('876d2e7b380ea3c9567ef09df11c7926', $this->sess->getToken());
 }