Пример #1
0
        public async Task <List <StoryItemModel> > Get(int limit = 50)
        {
            var response = await _newsFeedService.GetLatestNews(limit);

            return(response);
        }
        public async void Correct_Number_Of_Returned_Rows(int limit)
        {
            var apiResult = await _feed.GetLatestNews(limit);

            Assert.True(apiResult.Count == limit);
        }