public void Product_CoverIsAdded(string code, string name, string description, bool optional, decimal?sumInsured)
        {
            var product = TestProductFactory.EmptyTravel();

            product.AddCover(code, name, description, optional, sumInsured);

            Assert.NotEmpty(product.Covers);
            Assert.Single(product.Covers);
            Assert.NotEqual(Guid.Empty, product.Covers.First().Id);
        }
        public void Product_QuestionsAreAdded()
        {
            var product = TestProductFactory.EmptyTravel();

            var testQuestions = new List <Question>
            {
                TestQuestionFactory.ChoiceQuestion(),
                TestQuestionFactory.DateQuestion(),
                TestQuestionFactory.NumericQuestion()
            };

            product.AddQuestions(testQuestions);

            Assert.NotEmpty(product.Questions);
            Assert.Equal(testQuestions.Count, product.Questions.Count);
            Assert.All(product.Questions, item => Assert.NotEqual(Guid.Empty, item.Id));
        }