public void CreateErrorInfo_IMagickImageIsNotMagickImage_ThrowsException() { IMagickImage image = Substitute.For <IMagickImage>(); ExceptionAssert.Throws <NotSupportedException>(() => { image.CreateErrorInfo(); }); }
public void CreateErrorInfo_ValueIsNull_ReturnsNull() { IMagickImage <QuantumType> image = null; Assert.Null(image.CreateErrorInfo()); }
public void CreateErrorInfo_ValueIsNull_ReturnsNull() { IMagickImage image = null; Assert.IsNull(image.CreateErrorInfo()); }