Exemplo n.º 1
0
        public void GetMedicalVendorPaymentThrowsExceptionWhenNonexistentIdGiven()
        {
            const bool medicalVendorPaymentIdExists = false;

            ExpectGetDataAccessAdapterAndDispose();
            ExpectFetchEntity(medicalVendorPaymentIdExists);

            _mocks.ReplayAll();
            _medicalVendorPaymentRepository.GetMedicalVendorPayment(0);
            _mocks.VerifyAll();
        }