public void GetSingleArticle() { foreach (Article article in _articles) { Assert.AreEqual(article.Metadata, Store.GetArticleAsync(article.Slug).GetAwaiter().GetResult().Metadata); } }
public Task <Article> GetArticleAsync(string slug) { ++GetArticleSyncCount; return(InMemoryArticleStore.GetArticleAsync(slug)); }