@Test public void setExceptionMessage() { String exceptionValue = "Exception"; FactMappingValue value = new FactMappingValue(); value.setExceptionMessage(exceptionValue); assertThat(value.getStatus()).isEqualTo(FactMappingValueStatus.FAILED_WITH_EXCEPTION); assertThat(value.getExceptionMessage()).isEqualTo(exceptionValue); assertThat(value.getErrorValue()).isNull(); }
public void setExceptionMessage(String exceptionMessage) { this.exceptionMessage = exceptionMessage; this.status = FactMappingValueStatus.FAILED_WITH_EXCEPTION; }
FactMappingValue { public void setExceptionMessage(String exceptionMessage) { this.exceptionMessage = exceptionMessage; this.status = FactMappingValueStatus.FAILED_WITH_EXCEPTION; } }
FactMappingValue { public void setExceptionMessage(String exceptionMessage) { this.exceptionMessage = exceptionMessage; this.status = FactMappingValueStatus.FAILED_WITH_EXCEPTION; } FactMappingValue();  FactMappingValue(FactIdentifier factIdentifier, ExpressionIdentifier expressionIdentifier, Object rawValue); }
FactMappingValue { public void setExceptionMessage(String exceptionMessage) { this.exceptionMessage = exceptionMessage; this.status = FactMappingValueStatus.FAILED_WITH_EXCEPTION; } 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 setExceptionMessage(String exceptionMessage) { this.exceptionMessage = exceptionMessage; this.status = FactMappingValueStatus.FAILED_WITH_EXCEPTION; } 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();  }