public void ParsesFromContent() { string[] urls = _ex.GetImagesURLs(_html); Assert.IsTrue(urls.Length > 5); CollectionAssert.Contains(urls, Url1); CollectionAssert.Contains(urls, Url2); }
protected internal virtual IEnumerable <string> EnumerateFiles(EntryBase e) { if (e.Text == null) { yield break; } string[] urls; urls = _fileExtractor.GetImagesURLs(e.Text); foreach (string url in urls) { yield return(url); } }