public void Setup() { lakselvAirport = new Airport("LKL", "Lakselv"); trondheimAirport = new Airport("TRD", "Trondheim"); flightsService = new FlightsServiceStub(); objectStore = new ObjectStoreStub(); viewModel = new FlightsViewModel(flightsService, objectStore); }
public void Setup() { _lakselvAirport = new Airport("LKL", "Lakselv"); _trondheimAirport = new Airport("TRD", "Trondheim"); _flightsService = new FlightsServiceStub(); _objectStore = new ObjectStoreStub(); _messenger = new TinyMessengerHub(); _dispatcher = new DispatchAdapter(); _viewModel = new FlightsViewModel(_flightsService, _objectStore, _messenger, _dispatcher); }