@Test public void testClearAll() { doNothing().when(modal).doSave(anyString()); modal.clearAll(); verify(modal).doSave(CONSTRAINT_INITIAL_VALUE); }
void clearAll() { constraintType = null; doSave(CONSTRAINT_INITIAL_VALUE); }
DataTypeConstraintModal extends Elemental2Modal<DataTypeConstraintModal.View> { void clearAll() { constraintType = null; doSave(CONSTRAINT_INITIAL_VALUE); } }
DataTypeConstraintModal extends Elemental2Modal<DataTypeConstraintModal.View> { void clearAll() { constraintType = null; doSave(CONSTRAINT_INITIAL_VALUE); } @Inject  DataTypeConstraintModal(final View view,
                                   final DataTypeShortcuts dataTypeShortcuts,
                                   final DataTypeConstraintEnumeration constraintEnumeration,
                                   final DataTypeConstraintExpression constraintExpression,
                                   final DataTypeConstraintRange constraintRange); }
DataTypeConstraintModal extends Elemental2Modal<DataTypeConstraintModal.View> { void clearAll() { constraintType = null; doSave(CONSTRAINT_INITIAL_VALUE); } @Inject  DataTypeConstraintModal(final View view,
                                   final DataTypeShortcuts dataTypeShortcuts,
                                   final DataTypeConstraintEnumeration constraintEnumeration,
                                   final DataTypeConstraintExpression constraintExpression,
                                   final DataTypeConstraintRange constraintRange); @PostConstruct void setup(); void save(); void show(final BiConsumer<String, ConstraintType> onSaveConsumer); @Override void hide(); void enableOkButton(); void disableOkButton(); }
DataTypeConstraintModal extends Elemental2Modal<DataTypeConstraintModal.View> { void clearAll() { constraintType = null; doSave(CONSTRAINT_INITIAL_VALUE); } @Inject  DataTypeConstraintModal(final View view,
                                   final DataTypeShortcuts dataTypeShortcuts,
                                   final DataTypeConstraintEnumeration constraintEnumeration,
                                   final DataTypeConstraintExpression constraintExpression,
                                   final DataTypeConstraintRange constraintRange); @PostConstruct void setup(); void save(); void show(final BiConsumer<String, ConstraintType> onSaveConsumer); @Override void hide(); void enableOkButton(); void disableOkButton();  }