Esempio n. 1
0
        public void Arrange()
        {
            var options = new DbContextOptionsBuilder <EmployerIncentivesDbContext>().UseInMemoryDatabase("EmployerIncentivesDbContext" + Guid.NewGuid()).Options;

            _dbContext = new EmployerIncentivesDbContext(options);
            _sut       = new ApprenticeshipIncentives.LearnerDataRepository(new Lazy <EmployerIncentivesDbContext>(_dbContext));
        }