Implementation of a WebResponse for the purpose of unit testing
Inheritance: System.Net.WebResponse, IDisposable
        public void EnqueueThisFileAsNextResponse(string sampleData)
        {
            Stream responseStream = new FileStream(sampleData, FileMode.Open);

            var webResponse = new TestWebResponse(responseStream);

            _responses.Enqueue(webResponse);
        }
        public void EnqueueThisDocumentAsNextResponse(XDocument document)
        {
            var webResponse = new TestWebResponse(document);

            _responses.Enqueue(webResponse);
        }