public void GivenUserRegisterModel_WhenHavingAnInvalidEmailExtension_ThenResultShouldBeInvalid() { var model = UserRegisterModelFactory.WithInvalidEmailExtension(); var validator = new UserRegisterModelValidator(); var result = validator.Validate(model); result.IsValid.Should().BeFalse(); }