public void SetUp() { TransactionContainer.AddAction action = new TransactionContainer.AddAction(SillyAddAction); container = new TransactionContainer(action); transaction = new MockTransaction(); }
public PaymentPresenter(ViewLoader viewLoader) { this.viewLoader = viewLoader; TransactionContainer.AddAction addAction = new TransactionContainer.AddAction(TransactionAdded); transactionContainer = new TransactionContainer(addAction); }
public void SetUp() { database = new InMemoryPayrollDatabase(); TransactionContainer.AddAction action = new TransactionContainer.AddAction(SillyAddAction); container = new TransactionContainer(action); transaction = new MockTransaction(database); }
public PaymentPresenter(ViewLoader viewLoader) { this.viewLoader = viewLoader; TransactionContainer.AddAction addAction= new TransactionContainer.AddAction(TransactionAdded); transactionContainer = new TransactionContainer(addAction); }
public PayrollPresenter(PayrollDatabase database, ViewLoader viewLoader) { this.database = database; this.viewLoader = viewLoader; TransactionContainer.AddAction addAction = new TransactionContainer.AddAction(TransactionAdded); transactionContainer = new TransactionContainer(addAction); }