public void Initialize() { this.dbContext = MockDbContext.GetContext(); var mapper = MockAutoMapper.GetMapper(); this.categories = new CategoryService(this.dbContext, mapper); }
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); }
public void InitializeTests() { this.dbContext = MockDbContext.GetDbContext(); var mapper = MockAutoMapper.GetMapper(); this.townsService = new TownsService(dbContext, mapper); this.companiesService = new CompaniesService(dbContext, mapper, townsService); }
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()); }
public void TestsSetup() { this.DbContext = MockDbContext.GetDbContext(); this.Mapper = MockAutoMapper.GetMapper(); }
public void InitializeTests() { this.dbContext = MockDbContext.GetContext(); this.service = new AdminProductService(this.dbContext, MockAutoMapper.GetMapper()); }
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()); }