public void ShouldReturnInvalidMobilePaymentException() { _validMobilePayment.Phone = null; Assert.Throws <InvalidMobilePaymentException>(() => _validMobilePayment.Validate()); }
public void ShouldReturnInvalidPaymentException() { Assert.Throws <InvalidPaymentException>(() => _invalidMobilePayment.Validate()); }