Example #1
0
        public void DeletePlan_Test()
        {
            var id = Guid.NewGuid().ToString();

            var plan     = _client.CreatePlan(id, 400M, "usd", PlanFrequency.Month, id);
            var response = _client.DeletePlan(plan.Id);

            Assert.IsNotNull(response);
            Assert.IsFalse(response.IsError);
            Assert.IsTrue(response.Deleted);
            Assert.AreEqual(plan.Id, response.Id);
        }