Example #1
0
 /**
  * @test
  */
 public function constructCreatesARemoteSessionIfSessionIfIdentifierIsSpecified()
 {
     $storageIdentifier = '6e988eaa-7010-4ee8-bfb8-96ea4b40ec16';
     $session = new Session('ZPjPj3A0Opd7JeDoe7rzUQYCoDMcxscb', $storageIdentifier, 1354293259);
     $this->assertTrue($session->isRemote());
     $session = new Session();
     $this->assertFalse($session->isRemote());
 }