public void Validate_GivenValidModel_ReturnsTrue()
        {
            //Arrange
            CreateNewTestScenarioVersion model = CreateModel();

            CreateNewTestScenarioVersionValidator validator = CreateValidator();

            //Act
            ValidationResult result = validator.Validate(model);

            //Assert
            result
            .IsValid
            .Should()
            .BeTrue();

            result
            .Errors
            .Any()
            .Should()
            .BeFalse();
        }
        public void Validate_GivenMissingScenario_ReturnsFalse()
        {
            //Arrange
            CreateNewTestScenarioVersion model = CreateModel();

            model.Scenario = string.Empty;

            CreateNewTestScenarioVersionValidator validator = CreateValidator();

            //Act
            ValidationResult result = validator.Validate(model);

            //Assert
            result
            .IsValid
            .Should()
            .BeFalse();

            result
            .Errors
            .Count
            .Should()
            .Be(1);
        }