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);
        }
Example #2
0
 public void TestInitialize()
 {
     this.flightsServices   = TestObjectFactoryServices.GetLegInstancesServices();
     this.flightsController = new FlightsController(this.flightsServices.Object);
 }