public void Setup() { var options = new DbContextOptionsBuilder <EfContext>() .UseInMemoryDatabase(Guid.NewGuid().ToString()) .EnableSensitiveDataLogging() .Options; EfContext context = new EfContext(options); _EfRepository = new EfRepository(context); _EsRepository = new TestEventsRepository(); }
public void Setup() { _eventsRepository = new TestEventsRepository(); }