예제 #1
0
 /**
  * @covers ::__construct
  * @covers ::setOptions
  * @covers ::getId
  * @covers ::setId
  * @covers ::hasStarted
  */
 public function testId()
 {
     $sessionId = 'sessionId';
     $session = new Session();
     $this->assertNotNull($session->getId());
     $session->setId($sessionId);
     $this->assertEquals($sessionId, $session->getId());
 }