Пример #1
0
 public async Task TestLogout()
 {
     Caller api = new Caller(info);
     Assert.IsNotNull(api);
     await api.Login();
     Assert.IsTrue(api.hasSessionId);
     var logout = await api.Logout();
     Assert.IsFalse(api.hasSessionId);
     Assert.AreEqual(logout.Status, 0);
 }