Exemple #1
0
        public void ThenTheEmployerSLevyBalanceIs(Table table)
        {
            var periodBalances = LevyBalanceTableParser.ParseLevyAccountBalanceTable(table, Defaults.EmployerAccountId);

            var breakdown = new  EarningsAndPaymentsBreakdown
            {
                EmployerLevyTransactions = periodBalances
            };

            EarningsAndPaymentsContext.OverallEarningsAndPayments.Add(breakdown);
            PaymentsAndEarningsAssertions.AssertPaymentsAndEarningsResults(EarningsAndPaymentsContext, SubmissionContext, EmployerAccountContext);
        }
Exemple #2
0
 private void AssertResults()
 {
     PaymentsAndEarningsAssertions.AssertPaymentsAndEarningsResults(EarningsAndPaymentsContext, SubmissionContext, EmployerAccountContext);
     TransactionTypeAssertions.AssertPaymentsAndEarningsResults(EarningsAndPaymentsContext, SubmissionContext, EmployerAccountContext);
     SubmissionDataLockAssertions.AssertPaymentsAndEarningsResults(SubmissionDataLockContext, SubmissionContext);
 }