public AccountTests() { transactionStore = A.Fake <IStoreTransactions>(); statementPrinter = A.Fake <IPrintBankStatements>(); account = new Account(transactionStore, statementPrinter); }
public Account(IStoreTransactions transactionStore, IPrintBankStatements statementPrinter) { this.statementPrinter = statementPrinter; this.transactionStore = transactionStore; }