public void Ctor_Message() { var exception = new BerConversionException("message"); Assert.Equal("message", exception.Message); Assert.Null(exception.InnerException); }
public void Ctor_Default() { var exception = new BerConversionException(); Assert.NotEmpty(exception.Message); Assert.Null(exception.InnerException); }
public void Ctor_Message_InnerException() { var innerException = new Exception(); var exception = new BerConversionException("message", innerException); Assert.Equal("message", exception.Message); Assert.Same(innerException, exception.InnerException); }