Esempio n. 1
0
 protected void SetUp()
 {
     _repository              = Substitute.For <IRepository>();
     _homeController          = new HomeController();
     _bankController          = new BankAccountsAdminController(_repository);
     _userPanelController     = new UserPanelController(_repository);
     _paymentsAdminController = new PaymentsAdminController(_repository);
 }
Esempio n. 2
0
 public XUnitBankTests()
 {
     _repository              = Substitute.For <IRepository>();
     _homeController          = new HomeController();
     _bankController          = new BankAccountsAdminController(_repository);
     _userPanelController     = new UserPanelController(_repository);
     _paymentsAdminController = new PaymentsAdminController(_repository);
 }