@Test public void setErrorValue() { String errorValue = VALUE; FactMappingValue value = new FactMappingValue(); value.setErrorValue(errorValue); assertThat(value.getStatus()).isEqualTo(FactMappingValueStatus.FAILED_WITH_ERROR); assertThat(value.getExceptionMessage()).isNull(); assertThat(value.getErrorValue()).isEqualTo(errorValue); }
public void setErrorValue(Object errorValue) { this.errorValue = errorValue; this.status = FactMappingValueStatus.FAILED_WITH_ERROR; }
FactMappingValue { public void setErrorValue(Object errorValue) { this.errorValue = errorValue; this.status = FactMappingValueStatus.FAILED_WITH_ERROR; } }
FactMappingValue { public void setErrorValue(Object errorValue) { this.errorValue = errorValue; this.status = FactMappingValueStatus.FAILED_WITH_ERROR; } FactMappingValue();  FactMappingValue(FactIdentifier factIdentifier, ExpressionIdentifier expressionIdentifier, Object rawValue); }
FactMappingValue { public void setErrorValue(Object errorValue) { this.errorValue = errorValue; this.status = FactMappingValueStatus.FAILED_WITH_ERROR; } FactMappingValue();  FactMappingValue(FactIdentifier factIdentifier, ExpressionIdentifier expressionIdentifier, Object rawValue); void setRawValue(Object rawValue); FactIdentifier getFactIdentifier(); ExpressionIdentifier getExpressionIdentifier(); Object getRawValue(); FactMappingValueStatus getStatus(); Object getErrorValue(); void setErrorValue(Object errorValue); String getExceptionMessage(); void setExceptionMessage(String exceptionMessage); void resetStatus(); }
FactMappingValue { public void setErrorValue(Object errorValue) { this.errorValue = errorValue; this.status = FactMappingValueStatus.FAILED_WITH_ERROR; } FactMappingValue();  FactMappingValue(FactIdentifier factIdentifier, ExpressionIdentifier expressionIdentifier, Object rawValue); void setRawValue(Object rawValue); FactIdentifier getFactIdentifier(); ExpressionIdentifier getExpressionIdentifier(); Object getRawValue(); FactMappingValueStatus getStatus(); Object getErrorValue(); void setErrorValue(Object errorValue); String getExceptionMessage(); void setExceptionMessage(String exceptionMessage); void resetStatus();  }