/**
  * Creates session strategy.
  *
  * @return void
  */
 protected function setUp()
 {
     $this->_session1 = $this->createSession();
     $this->_session2 = $this->createSession();
     $this->_isolatedStrategy = m::mock('\\aik099\\PHPUnit\\Session\\IsolatedSessionStrategy');
     $this->strategy = new SharedSessionStrategy($this->_isolatedStrategy);
     parent::setUp();
 }
 /**
  * Creates session strategy.
  *
  * @return void
  */
 protected function setUp()
 {
     $this->_factory = m::mock('aik099\\PHPUnit\\Session\\ISessionFactory');
     $this->strategy = new IsolatedSessionStrategy($this->_factory);
     parent::setUp();
 }