public async Task TestPreCachedFaviconUrl() { // set up var cache = new FaviconUrlCache(); // run var result = await cache.GetFaviconUrlAsync(new Uri("https://www.wetteronline.de/")); // check Assert.IsTrue(result.Length > 0, "result must contain text"); }
public async Task TestFaviconUrl() { // set up var cache = new FaviconUrlCache(); // run var result = await cache.GetFaviconUrlAsync(new Uri("https://github.com/vividos/WhereToFly")); // check Assert.IsTrue(result.Length > 0, "result must contain text"); }