public LedgerEntryTestDataBuilder AppendTransactions(Action <TransactionTestDataBuilder> transactionsCreator) { var txnBuilder = new TransactionTestDataBuilder(); transactionsCreator(txnBuilder); this.ledgerTransactions = txnBuilder.Transactions.ToList(); return(this.entryBuilder); }
public LedgerEntryTestDataBuilder AppendTransactions(Action<TransactionTestDataBuilder> transactionsCreator) { var txnBuilder = new TransactionTestDataBuilder(); transactionsCreator(txnBuilder); this.ledgerTransactions = txnBuilder.Transactions.ToList(); return this.entryBuilder; }