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); }
public AdminController(BankAccountApplicationService bankAccountApplicationService) { _bankAccountApplicationService = bankAccountApplicationService; }