public SessionIdentificationDataProviderFixture() {
      _cookieName = "TheCookieName";
      _hmacProvider = A.Fake<IHmacProvider>();
      _sessionIdentificationDataProvider = new SessionIdentificationDataProvider(_hmacProvider);

      _validRequest = new Request("GET", "http://www.google.be");
      _hmacString = "01HMAC98";
      _encryptedSessionIdString = "%02Session+Id";
      _validRequest.Cookies.Add(_cookieName, _hmacString + _encryptedSessionIdString);

      _expectedResult = new SessionIdentificationData {SessionId = "%02Session+Id", Hmac = new byte[] {211, 81, 204, 0, 47, 124}};

      A.CallTo(() => _hmacProvider.HmacLength).Returns(6);
    }
        public SessionIdentificationDataProviderFixture()
        {
            _cookieName   = "TheCookieName";
            _hmacProvider = A.Fake <IHmacProvider>();
            _sessionIdentificationDataProvider = new SessionIdentificationDataProvider(_hmacProvider);

            _validRequest             = new Request("GET", "http://www.google.be");
            _hmacString               = "01HMAC98";
            _encryptedSessionIdString = "%02Session+Id";
            _validRequest.Cookies.Add(_cookieName, _hmacString + _encryptedSessionIdString);

            _expectedResult = new SessionIdentificationData {
                SessionId = "%02Session+Id", Hmac = new byte[] { 211, 81, 204, 0, 47, 124 }
            };

            A.CallTo(() => _hmacProvider.HmacLength).Returns(6);
        }