public void DeleteCustomer_Test() { var coupon = _client.CreateCoupon(75, CouponDuration.Once); var response = _client.DeleteCoupon(coupon.Id); Assert.IsNotNull(response); Assert.IsFalse(response.IsError); Assert.IsTrue(response.Deleted); Assert.AreEqual(coupon.Id, response.Id); }
public void DeleteCustomer_Test() { dynamic coupon = _client.CreateCoupon(75, CouponDuration.Once); dynamic response = _client.DeleteCoupon(coupon.Id); Assert.NotNull(response); Assert.False(response.IsError); Assert.True(response.Deleted); Assert.Equal(coupon.Id, response.Id); }