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