public void EqualsIErrorBuilder_WhenObjectIsErrorBuilder_ReturnsTrue() { var eb = new ErrorBuilder( ErrorCode.Unknown, new ErrorData.ExceptionData(new Exception()) ); Assert.True(eb.Equals((IErrorBuilder)eb)); }
public void EqualsIErrorBuilder_WhenObjectIsNull_ReturnsFalse() { var eb = new ErrorBuilder( ErrorCode.Unknown, new ErrorData.ExceptionData(new Exception()) ); Assert.False(eb.Equals((IErrorBuilder?)null)); }