public void ShouldThrowExceptionWhenFileNameIsEmpty() { Assert.Throws <ArgumentException>("fileName", () => { MagickNET.SetDefaultFontFile(string.Empty); }); }
public void ShouldThrowExceptionWhenFileNameIsNull() { Assert.Throws <ArgumentNullException>("fileName", () => { MagickNET.SetDefaultFontFile((string)null); }); }