public void ListTags_ShouldReturnListOfTagsWithoutPosts() { var response = butterClient.ListTags(); Assert.IsNotNull(response); Assert.IsNull(response.FirstOrDefault().RecentPosts); }
public TagsListViewModel ListAllTags() { var response = _client.ListTags().ToList(); var model = new TagsListViewModel { Tags = response, Count = response.Count }; return(model); }