public SearchResultsPageViewModelScenario() { var testInstance = new SearchInstance() { Query = "Search1", Images = new List <ImageResult>() { new ImageResult() { MediaUrl = "http://example.com" } } }; ApplicationSettings.Searches.Add(testInstance); ApplicationSettings.SelectedInstance = testInstance; _imageSearchService = new MockImageSearchService(); _accelerometer = new MockAccelerometer(); _sharePump = new MockShareDataRequestedPump(); ViewModel = new SearchResultsPageViewModel(ApplicationSettings, NavigationService, _imageSearchService, MessageHub, _accelerometer, new MockStatusService(), _sharePump); }
public DetailPageViewModelScenario() { _shareMessagePump = new MockShareDataRequestedPump(); }