public void GivenCreateRecipecommentModel_WhenHavingAValidReview_ThenResultIsValid()
        {
            var model     = CreateRecipeCommentModelFactory.Default();
            var validator = new CreateRecipeCommentModelValidator();

            var result = validator.Validate(model);

            result.IsValid.Should().BeTrue();
        }
        public void GivenCreateRecipecommentModel_WhenHavingReviewGreaterThan5_ThenResultIsInvalid()
        {
            var model     = CreateRecipeCommentModelFactory.WithReviewGreaterThan5();
            var validator = new CreateRecipeCommentModelValidator();

            var result = validator.Validate(model);

            result.IsValid.Should().BeFalse();
        }
        public void GivenCreateRecipeCommentModel_WhenHavingCommentWithMoreThan250Characters_ThenResultIsInvalid()
        {
            var model     = CreateRecipeCommentModelFactory.WithCommentGreaterThan250Characters();
            var validator = new CreateRecipeCommentModelValidator();

            var result = validator.Validate(model);

            result.IsValid.Should().BeFalse();
        }