public async void FieldNChar_Create_length()
        {
            Mock <ITestAllFieldTypesNullableRepository> testAllFieldTypesNullableRepository = new Mock <ITestAllFieldTypesNullableRepository>();

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

            var validator = new ApiTestAllFieldTypesNullableServerRequestModelValidator(testAllFieldTypesNullableRepository.Object);
            await validator.ValidateCreateAsync(new ApiTestAllFieldTypesNullableServerRequestModel());

            validator.ShouldHaveValidationErrorFor(x => x.FieldNChar, new string('A', 11));
        }