### Question:
DoubleValueConstraintEditor extends AbstractColumnConstraintEditor<Double> { @Override public void reset() { setValue(getConstraint().copy(0d)); } DoubleValueConstraintEditor(ColumnConstraint<Double> constraint); @Override void reset(); @Override String getErrorMessage(); static final String FLOATING_POINT_FORMAT; }### Answer:
@Test public void testReset() { Double origValue = 123.456d; setText(origValue.toString()); Double textValue = Double.parseDouble(textField.getText()); assertEquals(origValue, textValue); runSwing(() -> editor.reset()); textValue = Double.parseDouble(textField.getText()); assertEquals(Double.valueOf(0d), textValue); }