コード例 #1
0
 public void ShouldThrowExceptionWhenPathIsInvalid()
 {
     Assert.Throws <ArgumentException>("path", () =>
     {
         MagickNET.SetGhostscriptFontDirectory("Invalid");
     });
 }
コード例 #2
0
 public void ShouldThrowExceptionWhenPathIsNull()
 {
     Assert.Throws <ArgumentNullException>("path", () =>
     {
         MagickNET.SetGhostscriptFontDirectory(null);
     });
 }