public void Test()
        {
            var rootPath     = Path.Combine(AppContext.BaseDirectory, "TestData", "Sample");
            var subpath      = "single";
            var fileProvider = new PhysicalFileProvider(rootPath);
            var sLogger      = new LoggerFactory().CreateLogger <SingleRequestMessageProvider>();

            var provider = new SingleRequestMessageProvider(subpath, fileProvider, sLogger);

            var messages = provider.Get();

            Assert.Equal(3, messages.Count());

            var message = messages.ElementAt(0);

            Assert.Equal(message.Method, HttpMethod.Get);
            Assert.Equal("/", message.RequestUri.ToString());

            message = messages.ElementAt(1);

            Assert.Equal(message.Method, HttpMethod.Get);
            Assert.Equal("/home", message.RequestUri.ToString());

            message = messages.ElementAt(2);

            Assert.Equal(message.Method, HttpMethod.Post);
            Assert.Equal("/home/add/1", message.RequestUri.ToString());
        }
        public void Test()
        {
            var rootPath      = Path.Combine(AppContext.BaseDirectory, "TestData", "Sample");
            var listSubpath   = "list";
            var singleSubpath = "single";
            var fileProvider  = new PhysicalFileProvider(rootPath);
            var lLogger       = new LoggerFactory().CreateLogger <ListHttpRequestMessageProvider>();
            var sLogger       = new LoggerFactory().CreateLogger <SingleRequestMessageProvider>();

            var listProvider      = new ListHttpRequestMessageProvider(listSubpath, fileProvider, lLogger);
            var singleProvider    = new SingleRequestMessageProvider(singleSubpath, fileProvider, sLogger);
            var compositeProvider = new CompositeRequestMessageProvider(listProvider, singleProvider);

            var results = compositeProvider.Get();

            Assert.Equal(21, results.Count());
        }