private SearchDialogs ( string query, ProfileFields fields = null, uint limit = null ) : SearchDialogsResponse | ||
query | string | |
fields | ProfileFields | |
limit | uint | |
return | SearchDialogsResponse |
public void SearchDialogs_AccessTokenInvalid_ThrowAccessTokenInvalidException() { var cat = new MessagesCategory(new VkApi()); cat.SearchDialogs("hello"); }
public void SearchDialogs_AccessTokenInvalid_ThrowAccessTokenInvalidException() { var cat = new MessagesCategory(new VkApi()); This.Action(() => cat.SearchDialogs("hello")).Throws<AccessTokenInvalidException>(); }
public void SearchDialogs_AccessTokenInvalid_ThrowAccessTokenInvalidException() { var cat = new MessagesCategory(new VkApi()); Assert.That(() => cat.SearchDialogs("hello"), Throws.InstanceOf<AccessTokenInvalidException>()); }