Exemplo n.º 1
0
 public async Task TestGetHeadlines1()
 {
     Caller api = new Caller(info);
     Assert.IsNotNull(api);
     Assert.IsFalse(api.hasSessionId);
     var heads = await api.GetHeadlines(-4, 10, 0, true, true, true, Caller.GetHeadlinesViewMode.AllArticles, true, 0, true, true);
     Assert.IsTrue(api.hasSessionId);
     Assert.AreEqual(heads.Status, 0);
 }