GetLongPollServer() private méthode

private GetLongPollServer ( bool useSsl = false, bool needPts = false ) : LongPollServerResponse
useSsl bool
needPts bool
Résultat LongPollServerResponse
Exemple #1
0
 public void GetLongPollServer_AccessTokenInvalid_ThrowAccessTokenInvalidException()
 {
     var cat = new MessagesCategory(new VkApi());
     This.Action(() => cat.GetLongPollServer()).Throws<AccessTokenInvalidException>();
 }
 public void GetLongPollServer_AccessTokenInvalid_ThrowAccessTokenInvalidException()
 {
     var cat = new MessagesCategory(new VkApi());
     Assert.That(() => cat.GetLongPollServer(), Throws.InstanceOf<AccessTokenInvalidException>());
 }