Exemplo n.º 1
0
        public void Initialize()
        {
            this.dbContext = MockDbContext.GetContext();
            var mapper = MockAutoMapper.GetMapper();

            this.categories = new CategoryService(this.dbContext, mapper);
        }
Exemplo n.º 2
0
        public void InitializeTests()
        {
            this.context = MockDbContext.GetContext();
            this.service = new AdminRewardsService(context, MockAutoMapper.GetMapper());

            CreateInitialEvents();
        }
        public void InitializeTests()
        {
            this.dbContext = MockDbContext.GetDbContext();
            var mapper = MockAutoMapper.GetMapper();

            this.service = new AdminVideosService(dbContext, mapper);
        }
Exemplo n.º 4
0
        public void InitializeTests()
        {
            this.dbContext = MockDbContext.GetDbContext();
            var mapper = MockAutoMapper.GetMapper();

            this.townsService     = new TownsService(dbContext, mapper);
            this.companiesService = new CompaniesService(dbContext, mapper, townsService);
        }
Exemplo n.º 5
0
 public void InitializeTests()
 {
     this.dbContext = MockDbContext.GetContext();
     this.mapper    = MockAutoMapper.GetMapper();
 }
 public void Initialize()
 {
     this.dbContext    = MockDbContext.GetDbContext();
     this.genreService = new ModeratorGenreService(this.dbContext, MockAutoMapper.GetMapper());
 }
Exemplo n.º 7
0
 public void TestsSetup()
 {
     this.DbContext = MockDbContext.GetDbContext();
     this.Mapper    = MockAutoMapper.GetMapper();
 }
Exemplo n.º 8
0
 public void InitializeTests()
 {
     this.dbContext = MockDbContext.GetContext();
     this.service   = new AdminProductService(this.dbContext, MockAutoMapper.GetMapper());
 }
Exemplo n.º 9
0
 public void InitializeTests()
 {
     this.db      = MockDbContext.GetContext();
     this.mapper  = MockAutoMapper.GetMapper();
     this.service = new Lob(this.db);
 }
 public void InitializeTests()
 {
     this.dbContext = MockDbContext.GetContext();
     this.service   = new ModeratorCategoryService(dbContext, MockAutoMapper.GetMapper());
 }