public async void Email_Create_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.ValidateCreateAsync(new ApiOfficerServerRequestModel());

            validator.ShouldHaveValidationErrorFor(x => x.Email, new string('A', 129));
        }
        public async void Password_Create_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.ValidateCreateAsync(new ApiOfficerServerRequestModel());

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