### Question:
DateRangeConstraintEditor extends AbstractColumnConstraintEditor<LocalDate> { @Override public void reset() { LocalDate minVal = oneYearAgo; LocalDate maxVal = LocalDate.now(); setValue(getConstraint().copy(minVal, maxVal)); } DateRangeConstraintEditor(ColumnConstraint<LocalDate> constraint); @Override void reset(); @Override String getErrorMessage();  }### Answer:
@Test public void testReset() { String originalLower = lowerTextField.getText(); String originalUpper = upperTextField.getText(); setLowerText("01/10/1999"); setUpperText("01/12/1999"); runSwing(() -> editor.reset()); waitForPostedSwingRunnables(); assertEquals(originalLower, getText(lowerTextField)); assertEquals(originalUpper, getText(upperTextField)); }