public void Setup() { _objectStore = new ObjectStoreStub(); _airportsService = new AirportNamesService(); _messenger = new TinyMessengerHub(); _viewModel = new AirportsViewModel(_airportsService, _objectStore, _messenger); }
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); }
public void Setup() { objectStore = new ObjectStoreStub(); airportsService = new AirportNamesService(); viewModel = new AirportsViewModel(airportsService, objectStore); }