Method | Description | |
---|---|---|
TestData1 ( ) : |
A Test LedgerBook with data populated for June, July and August 2013. Also includes some debit transactions.
|
|
TestData2 ( ) : |
A Test LedgerBook with data populated for June July and August 2013. Also includes some debit transactions. August transactions include some balance adjustments. THIS SET OF TEST DATA IS SUPPOSED TO BE THE SAME AS THE EMBEDDED RESOURCE XML FILE: LedgerBookRepositoryTest_Load_ShouldLoadTheXmlFile.xml
|
|
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.
|
|
TestData4 ( ) : |
Same as Test Data 2, but with multiple Bank Balances for the latest entry. A Test LedgerBook with data populated for June July and August 2013. Also includes some debit transactions. August transactions include some balance adjustments.
|
|
TestData5 ( Func |
A Test LedgerBook with data populated for June July and August 2013. Also includes some debit transactions. There are multiple Bank Balances for the latest entry, and the Home Insurance bucket in a different account.
|
Method | Description | |
---|---|---|
CreateLedgerEntry ( |
||
CreateLine ( System.DateTime date, IEnumerable |
||
Finalise ( |
Makes sure that the IsNew property on LedgerBook EntryLines is not set to true, as it will be when they are newly created. Also ensures the StoredInAccount property for each ledger is set.
|
|
LedgerBookTestData ( ) : System | ||
SetEntriesForTesting ( this line, List |
||
SetTransactionsForTesting ( this entry, List |
public static TestData1 ( ) : |
||
return |
public static TestData2 ( ) : |
||
return |
public static TestData3 ( ) : |
||
return |
public static TestData4 ( ) : |
||
return |
public static TestData5 ( Func |
||
ctor | Func |
|
return |