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

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

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