public void ShouldReturnSpecificQuagganFromList() { Dictionary <string, Lazy <Quaggan> > quaggans = GW2Api.V2().Quaggans.GetAll(); Quaggan cryQuaggan = quaggans["cry"].Value; Assert.AreEqual("https://static.staticwars.com/quaggans/cry.jpg", cryQuaggan.Url); }
public void ShouldReturnSingleQuaggan() { Quaggan cakeQuaggan = GW2Api.V2().Quaggans.Get("cake"); Assert.AreEqual("https://static.staticwars.com/quaggans/cake.jpg", cakeQuaggan.Url); }
internal static void Id_is_not_empty(this Quaggan actual) => Assert.NotEmpty(actual.Id);
internal static void Quaggan_has_picture(this Quaggan actual) => Assert.True(Uri.IsWellFormedUriString(actual.PictureHref, UriKind.Absolute));