A widget to show the number of overspent buckets for the month. Compares actual spent transactions against a ledger in the ledgerbook, if there is one, or the current Budget if there isn't. The budget used is the currently selected budget from the BudgetCurrencyContext instance given. It may not be the current one as compared to today's date.
Наследование: Widget
Пример #1
0
        public void TestInitialise()
        {
            Statement = StatementModelTestData.TestData2();

            // Mocking out the Calculator means we dont need the LedgerBook
            LedgerBook = new LedgerBookTestHarness(new Mock<IReconciliationBuilder>().Object);
            SetLedgerBalancesFakeDataSomeOverspentBuckets();

            Subject = new OverspentWarning();
            Act();
        }