Beispiel #1
0
        public void CheckGetSomeRandomCustomersReturnsNotEmptyList()
        {
            var cusomerModel = new CustomerModel();

            cusomerModel.GetSomeRandomCustomers();

            Assert.IsTrue(cusomerModel.Customers.Count != 0);
        }
Beispiel #2
0
        public ActionResult FindCustomerBy()
        {
            var model = new CustomerModel();

            model.GetSomeRandomCustomers();

            return(View(model));
        }
Beispiel #3
0
        public void CheckGetSomeRandomCustomers()
        {
            var cusomerModel = new CustomerModel();

            cusomerModel.GetSomeRandomCustomers();

            Assert.IsInstanceOfType(cusomerModel.Customers, typeof(List <Customer>));
        }