public async Task ShouldQueryDiscountCodeByCodeAsync()
        {
            Response <DiscountCodeQueryResult> response = await _client.DiscountCodes().QueryDiscountCodesAsync("code=\"" + _testDiscountCode.Code + "\"");

            Assert.True(response.Success);

            DiscountCodeQueryResult discountCode = response.Result;

            Assert.NotNull(discountCode);
            Assert.Equal(1, discountCode.Count);
        }
        public async Task ShouldQueryDiscountCodeByCodeAsync()
        {
            Response <DiscountCodeQueryResult> response = await _client.DiscountCodes().QueryDiscountCodesAsync("code=\"" + _testDiscountCode.Code + "\"");

            Assert.IsTrue(response.Success);

            DiscountCodeQueryResult discountCode = response.Result;

            Assert.NotNull(discountCode);
            Assert.AreEqual(1, discountCode.Count);
            discountCode.Results.ShouldAllBeEquivalentTo(new [] { _testDiscountCode });
        }