public async void Location_Update_length()
        {
            Mock <IUsersRepository> usersRepository = new Mock <IUsersRepository>();

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

            var validator = new ApiUsersRequestModelValidator(usersRepository.Object);
            await validator.ValidateUpdateAsync(default(int), new ApiUsersRequestModel());

            validator.ShouldHaveValidationErrorFor(x => x.Location, new string('A', 101));
        }
        public async void EmailHash_Create_length()
        {
            Mock <IUsersRepository> usersRepository = new Mock <IUsersRepository>();

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

            var validator = new ApiUsersRequestModelValidator(usersRepository.Object);
            await validator.ValidateCreateAsync(new ApiUsersRequestModel());

            validator.ShouldHaveValidationErrorFor(x => x.EmailHash, new string('A', 41));
        }