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