Exemplo n.º 1
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.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);
 }