Inheritance: DotNetWorkQueueException
 public void Create_Inner()
 {
     var e = new CommitException("error", new Exception());
     Assert.Equal(e.Message, "error");
     Assert.NotNull(e.InnerException);
 }
 public void Create()
 {
     var e = new CommitException("error");
     Assert.Equal(e.Message, "error");
 }
 public void Create_Format()
 {
     var e = new CommitException("error {0}", 1);
     Assert.Equal(e.Message, "error 1");
 }
 public void Create_Empty()
 {
     var e = new CommitException();
     Assert.Equal(e.Message, "Exception of type 'DotNetWorkQueue.Exceptions.CommitException' was thrown.");
 }