BudgetAnalyser.Engine.UnitTest.TestData.LedgerBookTestData.TestData3 C# (CSharp) Метод

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

A Test LedgerBook with data populated for November 2013, last date 15/11/13. This was used to seed the actual ledger I use for the first time.
public static TestData3 ( ) : LedgerBook
Результат BudgetAnalyser.Engine.Ledger.LedgerBook
        public static LedgerBook TestData3()
        {
            var book = new LedgerBook(new ReconciliationBuilder(new FakeLogger()))
            {
                Name = "Smith Budget 2014",
                Modified = new DateTime(2013, 12, 22),
                StorageKey = @"C:\Foo\SmithLedger2014.xml"
            };

            var list = new List<LedgerEntryLine>
            {
                CreateLine(new DateTime(2013, 11, 15), new[] { new BankBalance(StatementModelTestData.ChequeAccount, 10738) }, "Opening entries").SetEntriesForTesting(
                    new List
                        <LedgerEntry>
                    {
                        CreateLedgerEntry(RatesLedger).SetTransactionsForTesting(
                            new List<LedgerTransaction>
                            {
                                new CreditLedgerTransaction { Amount = 573M, Narrative = "Opening ledger balance" }
                            }),
                        CreateLedgerEntry(PowerLedger).SetTransactionsForTesting(
                            new List<LedgerTransaction>
                            {
                                new CreditLedgerTransaction { Amount = 200M, Narrative = "Opening ledger balance" }
                            }),
                        CreateLedgerEntry(PhoneLedger).SetTransactionsForTesting(
                            new List<LedgerTransaction>
                            {
                                new CreditLedgerTransaction { Amount = 215M, Narrative = "Opening ledger balance" }
                            }),
                        CreateLedgerEntry(WaterLedger).SetTransactionsForTesting(
                            new List<LedgerTransaction>
                            {
                                new CreditLedgerTransaction { Amount = 50M, Narrative = "Opening ledger balance" }
                            }),
                        CreateLedgerEntry(HouseInsLedger).SetTransactionsForTesting(
                            new List<LedgerTransaction>
                            {
                                new CreditLedgerTransaction { Amount = 100M, Narrative = "Opening ledger balance" }
                            }),
                        CreateLedgerEntry(CarInsLedger).SetTransactionsForTesting(
                            new List<LedgerTransaction>
                            {
                                new CreditLedgerTransaction { Amount = 421M, Narrative = "Opening ledger balance" }
                            }),
                        CreateLedgerEntry(LifeInsLedger).SetTransactionsForTesting(
                            new List<LedgerTransaction>
                            {
                                new CreditLedgerTransaction { Amount = 1626M, Narrative = "Opening ledger balance" }
                            }),
                        CreateLedgerEntry(CarMtcLedger).SetTransactionsForTesting(
                            new List<LedgerTransaction>
                            {
                                new CreditLedgerTransaction { Amount = 163M, Narrative = "Opening ledger balance" }
                            }),
                        CreateLedgerEntry(RegoLedger).SetTransactionsForTesting(
                            new List<LedgerTransaction>
                            {
                                new CreditLedgerTransaction { Amount = 434.73M, Narrative = "Opening ledger balance" }
                            }),
                        CreateLedgerEntry(HairLedger).SetTransactionsForTesting(
                            new List<LedgerTransaction>
                            {
                                new CreditLedgerTransaction { Amount = 105M, Narrative = "Opening ledger balance" }
                            }),
                        CreateLedgerEntry(ClothesLedger).SetTransactionsForTesting(
                            new List<LedgerTransaction>
                            {
                                new CreditLedgerTransaction { Amount = 403.56M, Narrative = "Opening ledger balance" }
                            }),
                        CreateLedgerEntry(DocLedger).SetTransactionsForTesting(
                            new List<LedgerTransaction>
                            {
                                new CreditLedgerTransaction { Amount = 292.41M, Narrative = "Opening ledger balance" }
                            })
                    })
            };

            book.SetReconciliations(list);

            Finalise(book);
            return book;
        }