コード例 #1
0
        public async Task GetAllMyAsync()
        {
            var apiClient = Substitute.For <IApiConnection>();
            var client    = new ArticleClient(apiClient);

            await client.GetAllMyAsync();

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