示例#1
0
 public void ShouldReturnInvalidMobilePaymentException()
 {
     _validMobilePayment.Phone = null;
     Assert.Throws <InvalidMobilePaymentException>(() => _validMobilePayment.Validate());
 }
示例#2
0
 public void ShouldReturnInvalidPaymentException()
 {
     Assert.Throws <InvalidPaymentException>(() => _invalidMobilePayment.Validate());
 }