Пример #1
0
 public void TestInitialize()
 {
     this.matchesService    = TestObjectFactoryServices.GetMatchesService();
     this.matchesController = new MatchesController(this.matchesService);
     this.autoMapperConfig  = new AutoMapperConfig();
     this.autoMapperConfig.Execute(typeof(MatchesController).Assembly);
 }
 public void TestInitialize()
 {
     this.matchesService       = TestObjectFactoryServices.GetMatchesService();
     this.dataManager          = TestObjectFactoryDataManager.GetDataManager();
     this.homeController       = new HomeController(this.dataManager, this.matchesService);
     this.homeController.Cache = TestObjectFactoryServices.GetCacheService <Match>();
     this.autoMapperConfig     = new AutoMapperConfig();
     this.autoMapperConfig.Execute(typeof(HomeController).Assembly);
 }