EmployerRefundPaymentTests¶
EmployerRefundPaymentTests is 1. You’ll need to set the FromDate and the PaymentAmount on the EmployerPayee. 2. After that just call Approve() and the payment will immediately be ready for release. 3. Then call Save() and the payment is released and the financial transaction is created. 3a. If the payment amount is not able to approve, payment saves to the database awaiting approval. 3a1. Once approved, return to top of bullet 3. Note: There can only be one employer refund payment for a claim saved to the database at a time and the payment always tries to retrieve that payment when instantiated. Note: You can know whether a payment was saved to the database or a financial transaction was generated by checking the IsDeleted property on that payment upon successful save.* It also exposes test initialize and test delete.
Purpose¶
- Sets up the shared test state needed by those scenarios.*
Context¶
- Namespace:
SAIF.Business.Claim.Payment - Assembly/package:
SAIF.Business.Claim.Payment
Public members¶
| Member | Signature | Purpose |
|---|---|---|
New |
Public Sub New() |
Executes the New operation. |
TestInitialize |
Public Overrides Sub TestInitialize() |
Exposes the public member. |
TestDelete |
Public Sub TestDelete() Implements IDeleteTests.TestDelete |
Exposes the public member. |
TestInsert |
Public Sub TestInsert() Implements IInsertTests.TestInsert |
Exposes the public member. |
TestRetrieve |
Public Sub TestRetrieve() Implements IRetrieveTests.TestRetrieve |
Exposes the public member. |
TestUpdate |
Public Sub TestUpdate() Implements IUpdateTests.TestUpdate |
Exposes the public member. |
TestValidation |
Public Sub TestValidation() |
Exposes the public member. |
TestApproval |
Public Sub TestApproval() |
Exposes the public member. |
TestPaymentAddress |
Public Sub TestPaymentAddress() |
Exposes the public member. |
TestBusinessRules |
Public Sub TestBusinessRules() |
Exposes the public member. |
TestPaymentAuthorities |
Public Sub TestPaymentAuthorities() |
Exposes the public member. |
TestCreateFinancialTrans |
Public Sub TestCreateFinancialTrans() |
Exposes the public member. |
Behavioral notes¶
- This type is documented from its source declaration.
- The type participates in the
BusinessObjectTestBaseinheritance path used bySAIF.Business.Claim.Payment.
Constraints and usage notes¶
- Consumers should rely on the public members and BOF lifecycle patterns visible in the source file.
Sources¶
Business\SAIF.Business.Claim.Payment\SAIF.Business.Claim.Payment.Tests.MbUnit\EmployerRefundPaymentTests.vb