public void DenyRecipeNotContainingRequiredIngredients()
        {
            var constraint = new Със("Свинско, Сирене, Кори");
            var recipe     = new Recipe()
            {
                Ingredients = new[]
                {
                    new Ingredient()
                    {
                        IngredientType = new IngredientType()
                        {
                            Name = "Леща"
                        }
                    },
                }
            };

            Assert.IsFalse(constraint.IsAllowed(recipe));
        }
        public void AllowRecipeContainingRequiredIngredients3()
        {
            var constraint = new Със("         Пържола,         Сирене   ,  Кайма, Олио           ");
            var recipe     = new Recipe()
            {
                Ingredients = new[]
                {
                    new Ingredient()
                    {
                        IngredientType = new IngredientType()
                        {
                            Name = "Сирене"
                        }
                    },
                }
            };

            Assert.IsTrue(constraint.IsAllowed(recipe));
        }