/// <summary>
        /// Initializes a new instance of the <see cref="HttpMockHandler" /> class.
        /// </summary>
        /// <param name="mode">The mode of the mock server.</param>
        public HttpMockHandler(HttpMockHandlerMode mode)
        {
            Mode    = mode;
            matcher = new HttpRecordMatcher("x-ms-version");
            records = new HttpResponseRecords(matcher);

            Initialize();
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="HttpResponseRecords" /> class.
 /// </summary>
 /// <param name="matcher">The matcher used to map a request with it's corresponding response.</param>
 public HttpResponseRecords(IHttpRecordMatcher matcher)
 {
     this.matcher   = matcher;
     sessionRecords = new Dictionary <string, HttpResponseRecord>();
 }