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.categoriesView = TestObjectFactoryViews.GetCategoriesManagementView(); this.categoriesServices = TestObjectFactoryServices.GetCategoriesServices(); this.presenter = new CategoriesManagementPresenter( this.categoriesView.Object, this.categoriesServices.Object); }
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); }
public void TestInitialize() { this.airportsView = TestObjectFactoryViews.GetAirportsManagementView(); this.airportsServices = TestObjectFactoryServices.GetAirportsServices(); this.countriesServices = TestObjectFactoryServices.GetCountriesServices(); this.presenter = new AirportsManagementPresenter( this.airportsView.Object, this.airportsServices.Object, this.countriesServices.Object); }
public void TestInitialize() { this.baggageView = TestObjectFactoryViews.GetBaggageManagementView(); this.baggageServices = TestObjectFactoryServices.GetBaggageServices(); this.bookingsServices = TestObjectFactoryServices.GetBookingsServices(); this.presenter = new BaggageManagementPresenter( this.baggageView.Object, this.baggageServices.Object, this.bookingsServices.Object); }
public void TestInitialize() { this.aircraftManufacturersView = TestObjectFactoryViews.GetAircraftManufacturersManagementView(); this.aircraftManufacturersServices = TestObjectFactoryServices.GetAircraftManufacturersServices(); this.aircraftsServices = TestObjectFactoryServices.GetAircraftsServices(); this.presenter = new AircraftManufacturersManagementPresenter( this.aircraftManufacturersView.Object, this.aircraftManufacturersServices.Object, this.aircraftsServices.Object); }
public void TestInitialize() { this.flightLegsView = TestObjectFactoryViews.GetFlightLegsManagementView(); this.flightLegsServices = TestObjectFactoryServices.GetFlightLegsServices(); this.airportsServices = TestObjectFactoryServices.GetAirportsServices(); this.flightsServices = TestObjectFactoryServices.GetFlightsServices(); this.routesServices = TestObjectFactoryServices.GetRoutesServices(); this.legInstancesServices = TestObjectFactoryServices.GetLegInstancesServices(); this.presenter = new FlightLegsManagementPresenter( this.flightLegsView.Object, this.flightLegsServices.Object, this.airportsServices.Object, this.flightsServices.Object, this.routesServices.Object, this.legInstancesServices.Object); }
public void TestInitialize() { this.airportsServices = TestObjectFactoryServices.GetAirportsServices(); this.airportsController = new AirportsController(this.airportsServices.Object); }
public void TestInitialize() { this.countriesServices = TestObjectFactoryServices.GetCountriesServices(); this.countriesController = new CountriesController(this.countriesServices.Object); }
public void TestInitialize() { this.faresServices = TestObjectFactoryServices.GetFaresServices(); this.faresController = new FaresController(this.faresServices.Object); }
public void TestInitialize() { this.flightsServices = TestObjectFactoryServices.GetLegInstancesServices(); this.flightsController = new FlightsController(this.flightsServices.Object); }
public void TestInitialize() { this.aircraftManufacturersServices = TestObjectFactoryServices.GetAircraftManufacturersServices(); this.manufacturersController = new AircraftManufacturersController(this.aircraftManufacturersServices.Object); }