Exemple #1
0
        public void GivenValidate_WhenHavingAValidInput_ThenResultShouldBeValid()
        {
            var model     = CreateRatingModelFactory.Default();
            var validator = new CreateRatingModelValidator();

            var result = validator.Validate(model);

            result.IsValid.Should().BeTrue();
            result.Errors.Count.Should().Be(0);
        }