public void ThrowsErrorOnNotFound() { Assert.Throws <ArgumentException>(() => RenderService.GetImage("45345345", "43534643", FileFormat.png)); }
/// <summary> /// Returns the icon as a Bitmap /// </summary> /// <returns>Icon as a Bitmap</returns> public Bitmap GetImage() { return(RenderService.GetImage(icon)); }
public void CanRenderBitmap() { Bitmap bitmap = RenderService.GetImage("943538394A94A491C8632FBEF6203C2013443555", "102478", FileFormat.png); Assert.NotNull(bitmap); }