FactMappingValue { public void resetStatus() { this.status = FactMappingValueStatus.SUCCESS; this.exceptionMessage = null; this.errorValue = null; } 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();  }
@Test public void resetStatus() { FactMappingValue value = new FactMappingValue(); value.resetStatus(); assertThat(value.getStatus()).isEqualTo(FactMappingValueStatus.SUCCESS); assertThat(value.getExceptionMessage()).isNull(); assertThat(value.getErrorValue()).isNull(); }