Beispiel #1
0
 public async Task TestGetApiLevel()
 {
     Caller api = new Caller(info);
     Assert.IsNotNull(api);
     Assert.IsFalse(api.hasSessionId);
     var level = await api.GetApiLevel();
     Assert.IsTrue(api.hasSessionId);
     Assert.AreEqual(level.Status, 0);
     Assert.IsTrue(level.Content.Level >= 5);
 }