public void TestGet()
        {
            const string date    = "?date=2013-01-01";
            var          encoded = ChargebackUtils.Encode64(_config.Get("username") + ":" + _config.Get("password"),
                                                            "utf-8");

            _comm.AddToHeader("Authorization", "Basic " + encoded);
            _comm.SetContentType("application/com.vantivcnp.services-v2+xml");
            _comm.SetAccept("application/com.vantivcnp.services-v2+xml");
            if (!String.IsNullOrEmpty(_config.Get("proxyHost")) && !String.IsNullOrEmpty(_config.Get("proxyPort")))
            {
                _comm.SetProxy(_config.Get("proxyHost"), int.Parse(_config.Get("proxyPort")));
            }
            var responseContent = _comm.Get("/services/chargebacks/" + date);
            var contentType     = responseContent.GetContentType();
            var receivedBytes   = responseContent.GetByteData();

            Assert.True(receivedBytes.Any());
            Console.WriteLine("Content type returned from the server::" + contentType);
            var xmlResponse = Regex.Replace(ChargebackUtils.BytesToString(receivedBytes), @"\t|\n|\r", "");

            Console.WriteLine(xmlResponse);
            const string pattern = @"<?xml version=.* encoding=.* standalone=.*?>.*" +
                                   "<chargebackRetrievalResponse xmlns=.*<transactionId>.*</transactionId>.*" +
                                   "<chargebackCase>.*</chargebackCase>.*</chargebackRetrievalResponse>";
            var regex = new Regex(pattern, RegexOptions.Multiline);

            Assert.True(regex.IsMatch(xmlResponse));
        }