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."); }
public List <string> GetProductList(string productPattern) { List <string> productList = dbHelper.GetProducts(productPattern); return(productList); }