/**
  * Returns session strategy used currently.
  *
  * @return ISessionStrategy
  * @see    setSessionStrategy()
  */
 public function getSessionStrategy()
 {
     if ($this->sessionStrategy) {
         return $this->sessionStrategy;
     }
     // Default session strategy (not session itself) shared across all test cases.
     return $this->sessionStrategyManager->getDefaultSessionStrategy();
 }
 /**
  * Test description.
  *
  * @return void
  */
 public function testGetDefaultSessionStrategySharing()
 {
     $this->factory->shouldReceive('createStrategy')->andReturn('OK');
     $this->assertEquals($this->manager->getDefaultSessionStrategy(), $this->manager->getDefaultSessionStrategy());
 }