public void CanSearchForHashTag() { var twitterFacade = new Twitter(); //twitterFacade.TweetSearchResultRetrieved += (sender, e) => { // Assert.IsNotNull(e.TwitterSearchStatuses); //}; var result = twitterFacade.GetTweetsByHashTag("#UnitTests"); Assert.IsNotNull(result); }
public MainWindowViewModel(Dispatcher dispatcher) { _twitter = new Twitter(); _dispatcher = dispatcher; TweetSearchStatues = new ObservableCollection<TwitterSearchStatus>(); }