public void UnknownOperationMessage() { var t_Exception = new UnknownOperation("Foobar"); t_Exception.Message .Should() .Be("Foobar"); }
public void UnknownOperationMessageInnerException() { var t_Exception = new UnknownOperation("Foobar", new Exception("Foobar2")); t_Exception.Message .Should() .Be("Foobar"); t_Exception.InnerException .Should() .NotBeNull(); t_Exception.InnerException.Message .Should() .Be("Foobar2"); }