public void ReserveWithReportStatusTest()
 {
     this.claimHeader.ClaimHeaderStatusCode = "CRO";
     ClaimTransactionStatusChangePlugin plugin = new ClaimTransactionStatusChangePlugin();
     plugin.ProcessTransaction(this.mockBT, TransactionInvocationPoint.PreComplete, 1, null);
     Assert.AreEqual(this.claimHeader.ClaimHeaderStatusCode, "CRE");
 }
 public void RecoveryReceiptEntryNotAllowedForReportsOnlyClaimTest()
 {
     this.claimHeader.ClaimHeaderStatusCode = "CRE";
     this.mockBT.Component = this.claimHeader;
     this.claimHeader.InProgressClaimTransactionHeaders.First().ClaimTransactionSource = 4; // RecoveryReceipt
     ClaimTransactionStatusChangePlugin plugin = new ClaimTransactionStatusChangePlugin();
     ProcessResultsCollection results = plugin.ProcessTransaction(this.mockBT, TransactionInvocationPoint.PreComplete, 1, null);
     Assert.AreEqual(this.claimHeader.ClaimHeaderStatusCode, "CRE");
     Assert.AreEqual(results.Results.First().MessageId, "ENTRY_NOT_ALLOWED_FOR_REPORT_ONLY_CLAIMS");
 }