public void CheckListCountWithNoMatches()
        {
            List <string> shoppingBasket = new List <string>(new string[] { "", "Appl", "Orange", "Peach" });

            var expected = 0;

            var result = ShoppingBasketHelpers.GetItemCount(shoppingBasket, @"\b(apple)\b");

            Assert.Equal(result, expected);
        }
        public void CheckListCountWithCaseSensitivity()
        {
            List <string> shoppingBasket = new List <string>(new string[] { "Apple", "APPLE", "apple" });

            var expected = 3;

            var result = ShoppingBasketHelpers.GetItemCount(shoppingBasket, @"\b(apple)\b");

            Assert.Equal(result, expected);
        }