Exemple #1
0
 public void GetProductsList()
 {
     System.Collections.Generic.List <string> products = mainDBHelper.GetProducts("P");
     Assert.AreEqual(2, products.Count, "Products starting with P should be equal to 2.");
 }
Exemple #2
0
        public List <string> GetProductList(string productPattern)
        {
            List <string> productList = dbHelper.GetProducts(productPattern);

            return(productList);
        }