public void RemovePurchasePolicy()
 {
     try
     {
         PurchasePolicy temp = new PurchasePolicy();
         temp.TypeOfPolicy     = 1;
         temp.ProductName      = "milk";
         temp.StoreId          = 1;
         temp.Category         = "";
         temp.ProductInStoreId = 1;
         temp.Country          = "";
         PPDB.Remove(temp);
         li = PPDB.Get();
         Assert.AreEqual(li.Count, 0);
     }
     catch (Exception e)
     { Assert.AreEqual(true, false, "there was a connection error to the testing db"); }
 }
        //==================== REMOVE POLICYS !!!!! =============================

        // ========================= AMOUNT CONSTRAINTS !!!! ==================================
        public int removeAmountPolicyOnProduct(string productName)
        {
            // 1-Product(system level) , 2- Store, 3-category, 4- product in store, 5-country
            foreach (PurchasePolicy p in policys)
            {
                if (p.TypeOfPolicy == productNUM && p.ProductName.Equals(productName) && p.NoLimit == false)
                {
                    ppDB.Remove(p);
                    policys.Remove(p);
                    return(1);
                }
            }
            return(-1);
        }