@Test public void testDisable() { dataTypeConstraint.disable(); final String actualConstraint = dataTypeConstraint.getValue(); final ConstraintType actualConstraintType = dataTypeConstraint.getConstraintType(); assertEquals(DataTypeConstraint.NONE, actualConstraint); assertEquals(ConstraintType.NONE, actualConstraintType); verify(view).disable(); }
public void disable() { setConstraint(NONE, ConstraintType.NONE); view.disable(); }
DataTypeConstraint { public void disable() { setConstraint(NONE, ConstraintType.NONE); view.disable(); } }
DataTypeConstraint { public void disable() { setConstraint(NONE, ConstraintType.NONE); view.disable(); } @Inject  DataTypeConstraint(final View view,
                              final ManagedInstance<DataTypeConstraintModal> constraintModalManagedInstance); }
DataTypeConstraint { public void disable() { setConstraint(NONE, ConstraintType.NONE); view.disable(); } @Inject  DataTypeConstraint(final View view,
                              final ManagedInstance<DataTypeConstraintModal> constraintModalManagedInstance); void init(final DataTypeListItem listItem); String getValue(); ConstraintType getConstraintType(); HTMLElement getElement(); void enableEditMode(); void disableEditMode(); void refreshView(); void disable(); void enable(); }
DataTypeConstraint { public void disable() { setConstraint(NONE, ConstraintType.NONE); view.disable(); } @Inject  DataTypeConstraint(final View view,
                              final ManagedInstance<DataTypeConstraintModal> constraintModalManagedInstance); void init(final DataTypeListItem listItem); String getValue(); ConstraintType getConstraintType(); HTMLElement getElement(); void enableEditMode(); void disableEditMode(); void refreshView(); void disable(); void enable();  }