public void AppendException() { var error = CreateErrorTest(); var exception = new ArgumentException(); var errorWithException = error.AppendException(exception); Assert.True(exception.Equals(errorWithException.Exception)); }