Exemple #1
0
 public BaseTest()
 {
     this.dbContext = ApplicationDbContextFactory.Create();
     this.mapper    = AutoMapperFactory.Create();
     this.deletableEntityRepository = new EfDeletableEntityRepository <T>(this.dbContext);
     this.mediatorMock = new Mock <IMediator>();
 }
Exemple #2
0
 public QueryTestFixture()
 {
     this.Context = ApplicationDbContextFactory.Create();
     this.Mapper  = AutoMapperFactory.Create();
 }