### Question:
DataTypeConstraintModal extends Elemental2Modal<DataTypeConstraintModal.View> { @PostConstruct public void setup() { superSetup(); setWidth(WIDTH); this.constraintRange.setModal(this); getView().init(this); } @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();  }### Answer:
@Test public void testSetup() { doNothing().when(modal).superSetup(); doNothing().when(modal).setWidth(WIDTH); modal.setup(); verify(constraintRange).setModal(modal); verify(modal).superSetup(); verify(modal).setWidth(WIDTH); verify(view).init(modal); }