public void CheckGetSomeRandomCustomersReturnsNotEmptyList() { var cusomerModel = new CustomerModel(); cusomerModel.GetSomeRandomCustomers(); Assert.IsTrue(cusomerModel.Customers.Count != 0); }
public ActionResult FindCustomerBy() { var model = new CustomerModel(); model.GetSomeRandomCustomers(); return(View(model)); }
public void CheckGetSomeRandomCustomers() { var cusomerModel = new CustomerModel(); cusomerModel.GetSomeRandomCustomers(); Assert.IsInstanceOfType(cusomerModel.Customers, typeof(List <Customer>)); }