Beispiel #1
0
 public void VerifiesPinOnCardEntry_ShouldPass()
 {
     var service = new AuthenticationService();
     Assert.DoesNotThrow(() => service.VerifyPin("0123", 123456, 12345678));
 }
Beispiel #2
0
 public void VerifiesPinOnCardEntry_ShouldFail()
 {
     var service = new AuthenticationService();
     Assert.Throws<AuthenticationException>(() => service.VerifyPin("werfvwef", 123456, 12345678));
 }