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