C# Class BudgetAnalyser.Engine.UnitTest.TestData.StatementModelTestData

Show file Open project: Benrnz/BudgetAnalyser Class Usage Examples

Public Properties

Property Type Description
CarMtcBucket BudgetAnalyser.Engine.Budget.SavedUpForExpenseBucket
ChequeAccount BudgetAnalyser.Engine.BankAccount.ChequeAccount
HairBucket BudgetAnalyser.Engine.Budget.SavedUpForExpenseBucket
IncomeBucket BudgetAnalyser.Engine.Budget.IncomeBudgetBucket
InsHomeBucket BudgetAnalyser.Engine.Budget.SavedUpForExpenseBucket
PhoneBucket BudgetAnalyser.Engine.Budget.SpentMonthlyExpenseBucket
PowerBucket BudgetAnalyser.Engine.Budget.SpentMonthlyExpenseBucket
RegoBucket BudgetAnalyser.Engine.Budget.SpentMonthlyExpenseBucket
SavingsAccount BudgetAnalyser.Engine.BankAccount.SavingsAccount
SurplusBucket BudgetAnalyser.Engine.Budget.SurplusBucket
TransactionType BudgetAnalyser.Engine.Statement.NamedTransaction
VisaAccount BudgetAnalyser.Engine.BankAccount.VisaAccount

Public Methods

Method Description
TestData1 ( ) : StatementModel

Statement Model with transactions between 15/07/2013 and 14/09/2013

TestData2 ( ) : StatementModel

Statement Model with transactions between 15/07/2013 and 14/09/2013 Includes income transactions.

TestData3 ( ) : StatementModel

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.

TestData4 ( ) : StatementModel

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. Includes some duplicate transactions

TestData5 ( ) : StatementModel

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.

Private Methods

Method Description
CreateTransactions1 ( ) : IEnumerable
CreateTransactions2 ( ) : IEnumerable
CreateTransactions3 ( ) : IEnumerable
CreateTransactions5 ( ) : IEnumerable

Method Details

TestData1() public static method

Statement Model with transactions between 15/07/2013 and 14/09/2013
public static TestData1 ( ) : StatementModel
return BudgetAnalyser.Engine.Statement.StatementModel

TestData2() public static method

Statement Model with transactions between 15/07/2013 and 14/09/2013 Includes income transactions.
public static TestData2 ( ) : StatementModel
return BudgetAnalyser.Engine.Statement.StatementModel

TestData3() public static method

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.
public static TestData3 ( ) : StatementModel
return BudgetAnalyser.Engine.Statement.StatementModel

TestData4() public static method

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. Includes some duplicate transactions
public static TestData4 ( ) : StatementModel
return BudgetAnalyser.Engine.Statement.StatementModel

TestData5() public static method

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
return BudgetAnalyser.Engine.Statement.StatementModel

Property Details

CarMtcBucket public static property

public static SavedUpForExpenseBucket,BudgetAnalyser.Engine.Budget CarMtcBucket
return BudgetAnalyser.Engine.Budget.SavedUpForExpenseBucket

ChequeAccount public static property

public static ChequeAccount,BudgetAnalyser.Engine.BankAccount ChequeAccount
return BudgetAnalyser.Engine.BankAccount.ChequeAccount

HairBucket public static property

public static SavedUpForExpenseBucket,BudgetAnalyser.Engine.Budget HairBucket
return BudgetAnalyser.Engine.Budget.SavedUpForExpenseBucket

IncomeBucket public static property

public static IncomeBudgetBucket,BudgetAnalyser.Engine.Budget IncomeBucket
return BudgetAnalyser.Engine.Budget.IncomeBudgetBucket

InsHomeBucket public static property

public static SavedUpForExpenseBucket,BudgetAnalyser.Engine.Budget InsHomeBucket
return BudgetAnalyser.Engine.Budget.SavedUpForExpenseBucket

PhoneBucket public static property

public static SpentMonthlyExpenseBucket,BudgetAnalyser.Engine.Budget PhoneBucket
return BudgetAnalyser.Engine.Budget.SpentMonthlyExpenseBucket

PowerBucket public static property

public static SpentMonthlyExpenseBucket,BudgetAnalyser.Engine.Budget PowerBucket
return BudgetAnalyser.Engine.Budget.SpentMonthlyExpenseBucket

RegoBucket public static property

public static SpentMonthlyExpenseBucket,BudgetAnalyser.Engine.Budget RegoBucket
return BudgetAnalyser.Engine.Budget.SpentMonthlyExpenseBucket

SavingsAccount public static property

public static SavingsAccount,BudgetAnalyser.Engine.BankAccount SavingsAccount
return BudgetAnalyser.Engine.BankAccount.SavingsAccount

SurplusBucket public static property

public static SurplusBucket,BudgetAnalyser.Engine.Budget SurplusBucket
return BudgetAnalyser.Engine.Budget.SurplusBucket

TransactionType public static property

public static NamedTransaction,BudgetAnalyser.Engine.Statement TransactionType
return BudgetAnalyser.Engine.Statement.NamedTransaction

VisaAccount public static property

public static VisaAccount,BudgetAnalyser.Engine.BankAccount VisaAccount
return BudgetAnalyser.Engine.BankAccount.VisaAccount