Exemplo n.º 1
0
        public void TestValidateSSNRMethod_WithInvalidSSNR()
        {
            var fakeSSNR         = "196409012518";
            var SSNRVerification = new SocialSecurityNumberVerification();

            var result = SSNRVerification.VerifyIfSocialSecurityNumberIsValid(fakeSSNR);

            Assert.False(result);
        }
Exemplo n.º 2
0
        public void TestValidateSSNRMethod_WithValidSSNR()
        {
            var fakeSSNR         = "196410035510";
            var SSNRVerification = new SocialSecurityNumberVerification();

            var result = SSNRVerification.VerifyIfSocialSecurityNumberIsValid(fakeSSNR);

            Assert.True(result);
        }