public ReadOnlyCollection<Message> Search([NotNull] string query, out int totalCount, int? count = null, int? offset = null) { return Search(out totalCount, query, null, offset, count); }
public void Search_AccessTokenInvalid_ThrowAccessTokenInvalidException() { var cat = new MessagesCategory(new VkApi()); int totalCount; This.Action(() => cat.Search("привет", out totalCount)).Throws<AccessTokenInvalidException>(); }