示例#1
0
            public void Setup()
            {
                _guid = Guid.NewGuid();

                _timerMock = new Mock<ITimer>();
                _progressbarMock = new Mock<IProgressbar>();
                CreateTweetFetcherMock(MakeTwitterSearchResult(20));
                defaultConfiguration = TwitterController.GetDefaultConfiguration();
                _twitterViewModel = new TwitterViewModel();
                _twitterSettingsViewModel = new TwitterSettingsViewModel(_twitterViewModel);
                CreateController();
                Before();
            }
            public void Setup()
            {

                _twitterSettingsViewModel = new TwitterSettingsViewModel(new TwitterViewModel());
                Before();
            }