public void GetStatuses() { ListStatusesOptions options = new ListStatusesOptions(); TwitterResponse <TwitterStatusCollection> statuses = TwitterList.GetStatuses(Configuration.GetTokens(), userName, listName, options); Assert.IsNotNull(statuses); Assert.That(statuses.Result == RequestResult.Success); }
public void GetStatuses() { ListStatusesOptions options = new ListStatusesOptions(); TwitterResponse <TwitterStatusCollection> statuses = TwitterList.GetStatuses(Configuration.GetTokens(), userName, listName, options); Assert.IsNotNull(statuses, "statuses is null"); Assert.IsTrue(statuses.Result == RequestResult.Success, statuses.ErrorMessage ?? statuses.Result.ToString()); }