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);
 }
Exemple #3
0
 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);
 }
Exemple #5
0
 public PayrollPresenter(PayrollDatabase database, ViewLoader viewLoader)
 {
     this.database   = database;
     this.viewLoader = viewLoader;
     TransactionContainer.AddAction addAction =
         new TransactionContainer.AddAction(TransactionAdded);
     transactionContainer = new TransactionContainer(addAction);
 }