Ejemplo n.º 1
0
        public AccountTests()
        {
            transactionStore = A.Fake <IStoreTransactions>();
            statementPrinter = A.Fake <IPrintBankStatements>();

            account = new Account(transactionStore, statementPrinter);
        }
Ejemplo n.º 2
0
 public Account(IStoreTransactions transactionStore, IPrintBankStatements statementPrinter)
 {
     this.statementPrinter = statementPrinter;
     this.transactionStore = transactionStore;
 }