public function testRegenerate()
 {
     $storage = new FilesystemSessionStorage($this->path);
     $storage->start();
     $storage->write('foo', 'bar');
     $storage->regenerate();
     $this->assertEquals('bar', $storage->read('foo'));
     $storage->regenerate(true);
     $this->assertNull($storage->read('foo'));
 }
 public function testGetIdWorksAfterStart()
 {
     $storage = new FilesystemSessionStorage($this->path);
     $storage->start();
     $storage->getId();
 }