Beispiel #1
0
        public void GetAllUnapprovedProductsTest(string parameter, int value)
        {
            ProductSqlDAO   dao            = new ProductSqlDAO(connectionString);
            IList <Product> product        = dao.GetAllUnapprovedProducts();
            int             testResult     = product.Count;
            int             expectedResult = GetRowCountByBooleanParameter(parameter, value);

            Assert.AreEqual(expectedResult, testResult);
        }