BudgetAnalyser.Engine.UnitTest.Ledger.ReconciliationManagerTest_Reconcile.Reconcile_ShouldThrow_GivenTestData1AndUnclassifiedTransactions C# (CSharp) Метод

Reconcile_ShouldThrow_GivenTestData1AndUnclassifiedTransactions() приватный Метод

private Reconcile_ShouldThrow_GivenTestData1AndUnclassifiedTransactions ( ) : void
Результат void
        public void Reconcile_ShouldThrow_GivenTestData1AndUnclassifiedTransactions()
        {
            this.testDataStatement = new StatementModelBuilder()
                .TestData1()
                .AppendTransaction(new Transaction
                {
                    Account = StatementModelTestData.ChequeAccount,
                    Amount = 12.45M,
                    Date = ReconcileDate.AddDays(-1),
                    Description = "Foo bar"
                })
                .Build();
            try
            {
                Act();
            }
            catch (ValidationWarningException ex)
            {
                if (ex.Source == "3") return;
            }

            Assert.Fail();
        }