public function testLoadState()
 {
     $state = $this->createStateMock();
     $container = $this->createSessionContainerMock();
     $container->expects($this->once())->method('offsetGet')->with(Session::VAR_AUTHORIZATION_STATE)->will($this->returnValue($state));
     $storage = new Session($container);
     $this->assertSame($state, $storage->loadState());
 }