public async void Name_Update_length()
        {
            Mock <ICountryRepository> countryRepository = new Mock <ICountryRepository>();

            countryRepository.Setup(x => x.Get(It.IsAny <int>())).Returns(Task.FromResult(new Country()));

            var validator = new ApiCountryServerRequestModelValidator(countryRepository.Object);
            await validator.ValidateUpdateAsync(default(int), new ApiCountryServerRequestModel());

            validator.ShouldHaveValidationErrorFor(x => x.Name, new string('A', 129));
        }
        public async void Name_Create_null()
        {
            Mock <ICountryRepository> countryRepository = new Mock <ICountryRepository>();

            countryRepository.Setup(x => x.Get(It.IsAny <int>())).Returns(Task.FromResult(new Country()));

            var validator = new ApiCountryServerRequestModelValidator(countryRepository.Object);
            await validator.ValidateCreateAsync(new ApiCountryServerRequestModel());

            validator.ShouldHaveValidationErrorFor(x => x.Name, null as string);
        }