public async void Email_Update_length()
        {
            Mock <IOfficerRepository> officerRepository = new Mock <IOfficerRepository>();

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

            var validator = new ApiOfficerServerRequestModelValidator(officerRepository.Object);
            await validator.ValidateUpdateAsync(default(int), new ApiOfficerServerRequestModel());

            validator.ShouldHaveValidationErrorFor(x => x.Email, new string('A', 129));
        }
        public async void LastName_Update_null()
        {
            Mock <IOfficerRepository> officerRepository = new Mock <IOfficerRepository>();

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

            var validator = new ApiOfficerServerRequestModelValidator(officerRepository.Object);
            await validator.ValidateUpdateAsync(default(int), new ApiOfficerServerRequestModel());

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