Beispiel #1
0
        public void CancelCustomersSubscription_Test()
        {
            _client.UpdateCustomersSubscription(_customer.Id, _subscription.Id, _plan.Id);
            dynamic response = _client.CancelCustomersSubscription(_customer.Id, _subscription.Id);

            Assert.NotNull(response);
            Assert.False(response.IsError);
            Assert.NotNull(response.CanceledAt);
            Assert.NotNull(response.EndedAt);
        }