示例#1
0
        public async Task GetMyPublishedAsync()
        {
            var apiClient = Substitute.For <IApiConnection>();
            var client    = new ArticleClient(apiClient);

            await client.GetMyPublishedAsync();

            await apiClient.Received().ExecutePaginationGetAsync <MyArticle>("articles/me/published", Arg.Any <PageQueryOption>());
        }