### Question:
DataTypeConstraintEnumerationItem { public int getOrder() { return view.getOrder(); } @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 testGetOrder() { final int expected = 1; when(view.getOrder()).thenReturn(1); final int actual = enumerationItem.getOrder(); assertEquals(expected, actual); }