public void PaintingHtmlReturnedProperlyTest() { var api = new MetApi(); api.GetPaintingPage(); Assert.IsTrue(api.GetPaintingHtml().IndexOf("object-information") > 0); }
public void GetRandomPaintingUrlTest() { var api = new MetApi(); var url = api.GetPaintingPage(); Assert.IsTrue(url.IndexOf("pos=") > 0); }
public void PaintingImageUrlReturnsProperlyTest() { var api = new MetApi(); api.GetPaintingPage(); var painting = api.GetPaintingInfo(); Assert.IsTrue(painting.Url.IndexOf("web-large") > 0); }