### Question:
DataTypeConstraintEnumerationItem { public void enableEditMode() { setOldValue(getValue()); view.showValueInput(); view.focusValueInput(); view.enableHighlight(); view.showSaveButton(); view.showClearButton(); view.hideDeleteButton(); } @Inject  DataTypeConstraintEnumerationItem(final View view,
                                             final ConstraintPlaceholderHelper placeholderHelper); void setValue(final String newValue); String getValue(); int getOrder(); Element getElement(); void enableEditMode(); void disableEditMode(); void save(final String newValue); void remove(); void setDataTypeConstraintEnumeration(final DataTypeConstraintEnumeration dataTypeConstraintEnumeration); void setConstraintValueType(final String constraintValueType); void setOrder(final int order);  }### Answer:
@Test public void testEnableEditMode() { final String value = "123"; doReturn(value).when(enumerationItem).getValue(); enumerationItem.enableEditMode(); verify(enumerationItem).setOldValue(value); verify(view).showValueInput(); verify(view).focusValueInput(); verify(view).enableHighlight(); verify(view).showSaveButton(); verify(view).showClearButton(); verify(view).hideDeleteButton(); }