public async Task WikipediaWhenAskedShouldCheckTheApi() { _client.QueryAsync("Michael Jackson").Returns( new WikiClient.QueryResponse { Displaytitle = "Michael", Thumbnail = new WikiClient.Image { Source = "dummy" }, ContentUrls = new WikiClient.Content { Desktop = new WikiClient.Urls { Page = "https://wikipedia.com/michael" } } }); var result = await _processor.ProcessCommandAsync( new TextDeconstructionInformation("Who is Michael Jackson", "dance", SentenceTypes.Question, new Dictionary <string, string[]>(), null, 1), null, null, null); Assert.AreEqual(result.Cards[0].Header.Title, "Michael"); Assert.AreEqual(result.Cards[0].Header.ImageUrl, "dummy"); }