public void NationalInsuranceNumberValidatorIsValidTestValidValueSucceeds(string input) { var ctx = CreateContext(input); var sut = new NationalInsuranceNumberValidator <Dummy>(); sut.IsValid(ctx, input).Should().BeTrue(); }
public void NationalInsuranceNumberValidatorConstructorTest() { var sut = new NationalInsuranceNumberValidator <Dummy>(); sut.Name.Should().Be("NationalInsuranceNumberValidator"); }