Beispiel #1
0
        public void shouldBeEligibleConstructorFormatted()
        {
            CPFValidator cpfValidator = new CPFValidator(true);

            Assert.IsFalse(cpfValidator.IsEligible(validStringNotFormatted));
            Assert.IsTrue(cpfValidator.IsEligible(validString));
        }
Beispiel #2
0
 public void shouldNeverThrowsNPE()
 {
     Assert.IsFalse(validator.IsEligible(null));
 }