public void CustomerProvider_WhenGetAllCustomers_ResultShouldBeReturned()
        {
            var result = _customerProvider.GetAllCustomers();

            Assert.IsNotNull(result);
            Assert.IsTrue(result.Count > 0);
        }
Exemple #2
0
        public IList <CustomerDTO> GetCustomers()
        {
            CustomerProvider provider = new CustomerProvider();

            return(provider.GetAllCustomers());
        }