Example #1
0
        public void NationalInsuranceNumberValidatorIsValidTestValidValueSucceeds(string input)
        {
            var ctx = CreateContext(input);
            var sut = new NationalInsuranceNumberValidator <Dummy>();

            sut.IsValid(ctx, input).Should().BeTrue();
        }
Example #2
0
        public void NationalInsuranceNumberValidatorConstructorTest()
        {
            var sut = new NationalInsuranceNumberValidator <Dummy>();

            sut.Name.Should().Be("NationalInsuranceNumberValidator");
        }