示例#1
0
        public void TestInitialize()
        {
            this.categoriesView     = TestObjectFactoryViews.GetCategoriesManagementView();
            this.categoriesServices = TestObjectFactoryServices.GetCategoriesServices();

            this.presenter = new CategoriesManagementPresenter(
                this.categoriesView.Object,
                this.categoriesServices.Object);
        }
示例#2
0
        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.aircraftManufacturersView     = TestObjectFactoryViews.GetAircraftManufacturersManagementView();
            this.aircraftManufacturersServices = TestObjectFactoryServices.GetAircraftManufacturersServices();
            this.aircraftsServices             = TestObjectFactoryServices.GetAircraftsServices();

            this.presenter = new AircraftManufacturersManagementPresenter(
                this.aircraftManufacturersView.Object,
                this.aircraftManufacturersServices.Object,
                this.aircraftsServices.Object);
        }
示例#4
0
        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.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);
        }