Exemplo n.º 1
0
        public void DeleteCustomer_Test()
        {
            dynamic customer = _client.CreateCustomer(_card, email: _email);
            dynamic response = _client.DeleteCustomer(customer.Id);

            Assert.NotNull(response);
            Assert.False(response.IsError);
            Assert.True(response.Deleted);
            Assert.Equal(customer.Id, response.Id);
        }
Exemplo n.º 2
0
        public void DeleteCustomer_Test()
        {
            var customer = _client.CreateCustomer(_card, email: _email);
            var response = _client.DeleteCustomer(customer.Id);

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