Beispiel #1
0
 public void BeforeEeach()
 {
     _context = GetNewInMemoryDatabase("TestDb");
     _context.Database.EnsureCreated();
     _notificationServiceMock = new Mock <INotificationService>();
     _currencyRateServiceMock = new Mock <CurrencyRateService>();
     _dbGateway = new Mock <IQueryDatabaseGateway>();
     _sut       = new BankAccountApplicationService(_context, _notificationServiceMock.Object,
                                                    _currencyRateServiceMock.Object, null, _dbGateway.Object);
 }
Beispiel #2
0
 public AdminController(BankAccountApplicationService bankAccountApplicationService)
 {
     _bankAccountApplicationService = bankAccountApplicationService;
 }