예제 #1
0
            public UpdateTileHandlerScenario()
            {
                _mockTileUpdateManager = new MockTileUpdateManagerAdapter();
                _mockStatusService     = new MockStatusService();

                Handler = new UpdateTileHandler(_mockTileUpdateManager, _mockStatusService);
            }
예제 #2
0
            public SaveImageHandlerScenario()
            {
                _pickerFactory     = new MockPickerFactory();
                _mockDownloader    = new MockBackgroundDownloader();
                _mockStatusService = new MockStatusService();

                Handler = new SaveImageHandler(_pickerFactory, _mockDownloader, _mockStatusService);
            }
예제 #3
0
            public SetLockScreenHandlerScenario()
            {
                _settings          = new MockApplicationSettings();
                _mockLockScreen    = new MockLockScreen();
                _mockStatusService = new MockStatusService();

                Handler = new SetLockScreenHandler(_settings, _mockLockScreen, _mockStatusService);
            }
            public SearchQuerySubmittedHandlerScenario()
            {
                _settings           = new MockApplicationSettings();
                _imageSearchService = new MockImageSearchService();
                _navigationService  = new MockNavigationService();
                _statusService      = new MockStatusService();

                Handler = new SearchQuerySubmittedHandler(_settings, _imageSearchService, _navigationService, _statusService);
            }