### Question:
DataTypeConstraintRange implements DataTypeConstraintComponent { void disableOkButton() { modal.disableOkButton(); } @Inject  DataTypeConstraintRange(final View view,
                                   final ConstraintPlaceholderHelper placeholderHelper,
                                   final DMNClientServicesProxy clientServicesProxy,
                                   final Event<DataTypeConstraintParserWarningEvent> parserWarningEvent); @Override String getValue(); @Override void setValue(final String value); @Override void setConstraintValueType(final String type); @Override Element getElement(); void setModal(final DataTypeConstraintModal modal);  }### Answer:
@Test public void testDisableOkButton() { constraintRange.setModal(modal); constraintRange.disableOkButton(); verify(modal).disableOkButton(); }