public void shouldBeEligibleConstructorFormatted() { CPFValidator cpfValidator = new CPFValidator(true); Assert.IsFalse(cpfValidator.IsEligible(validStringNotFormatted)); Assert.IsTrue(cpfValidator.IsEligible(validString)); }
public void shouldNeverThrowsNPE() { Assert.IsFalse(validator.IsEligible(null)); }