private void InitializeSearchStationCommand(ITransportService transportService) { var searchStationCommand = new SearchStationAsyncCommand(transportService); searchStationCommand.StationSearchCompleted += this.StationSearchCompletedHandler; searchStationCommand.BeginStationSearch += this.BeginStationSearchHandler; this.SearchStationCommand = searchStationCommand; }
public void SetUp() { this.transportService = A.Fake <ITransportService>(); this.testee = new SearchStationAsyncCommand(this.transportService); }
public void SetUp() { this.transportService = A.Fake<ITransportService>(); this.testee = new SearchStationAsyncCommand(this.transportService); }