BudgetAnalyser.Engine.UnitTest.TestData.StatementModelTestData.TestData5 C# (CSharp) Метод

TestData5() публичный статический Метод

Statement Model with transactions between 15/07/2013 and 14/09/2013 Includes income transactions. Adjusted for use with LedgerCalculator - No ledgers will be overdrawn when using LedgerBook TestData 1. InsHome transfer transaction move funds into Savings, this transactions should be automatched when used with LedgerBookTestData5 and a Reconciliation is performed.
public static TestData5 ( ) : StatementModel
Результат BudgetAnalyser.Engine.Statement.StatementModel
        public static StatementModel TestData5()
        {
            var statement = new StatementModel(new FakeLogger())
            {
                StorageKey = @"C:\TestData5\Foo5Statement.csv",
                LastImport = new DateTime(2013, 08, 15)
            };

            IEnumerable<Transaction> transactions = CreateTransactions5();
            statement.LoadTransactions(transactions);
            return statement;
        }

Usage Example

 public StatementModelBuilder TestData5()
 {
     this.model = StatementModelTestData.TestData5();
     return(this);
 }