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