public void GetPaymentInstrumentsForInvoiceReturnsInstrumentsForValidInvoice() { List <PaymentInstrument> paymentInstruments = _paymentInstrumentRepository. GetPaymentInstrumentsForInvoice(VALID_MEDICAL_VENDOR_INVOICE_ID); Assert.IsNotNull(paymentInstruments); Assert.IsNotEmpty(paymentInstruments); }
public void GetPaymentInstrumentsForInvoiceGetsInstrumentsFor0PaymentsWhenInvoiceDoesNotExist() { ExpectGetDataAccessAdapterAndDispose(); ExpectFetchEntityCollection(); _mocks.ReplayAll(); _paymentInstrumentRepository.GetPaymentInstrumentsForInvoice(0); _mocks.VerifyAll(); }