@Test public void testSetValue() { final DayTimeValue value = mock(DayTimeValue.class); final String dmnString = "dmnString"; when(converter.fromDMNString(dmnString)).thenReturn(value); dayTimeSelector.setValue(dmnString); verify(view).setValue(value); }
@Override public void setValue(final String value) { view.setValue(converter.fromDMNString(value)); }
DayTimeSelector implements TypedValueSelector { @Override public void setValue(final String value) { view.setValue(converter.fromDMNString(value)); } }
DayTimeSelector implements TypedValueSelector { @Override public void setValue(final String value) { view.setValue(converter.fromDMNString(value)); } @Inject  DayTimeSelector(final DayTimeSelector.View view,
                           final DayTimeValueConverter converter); }
DayTimeSelector implements TypedValueSelector { @Override public void setValue(final String value) { view.setValue(converter.fromDMNString(value)); } @Inject  DayTimeSelector(final DayTimeSelector.View view,
                           final DayTimeValueConverter converter); @Override String getValue(); @Override void setValue(final String value); @Override void setPlaceholder(final String placeholder); @Override Element getElement(); @Override void setOnInputChangeCallback(final Consumer<Event> onValueChanged); @Override void setOnInputBlurCallback(final Consumer<BlurEvent> onValueInputBlur); @Override void select(); @Override String toDisplay(final String rawValue); }
DayTimeSelector implements TypedValueSelector { @Override public void setValue(final String value) { view.setValue(converter.fromDMNString(value)); } @Inject  DayTimeSelector(final DayTimeSelector.View view,
                           final DayTimeValueConverter converter); @Override String getValue(); @Override void setValue(final String value); @Override void setPlaceholder(final String placeholder); @Override Element getElement(); @Override void setOnInputChangeCallback(final Consumer<Event> onValueChanged); @Override void setOnInputBlurCallback(final Consumer<BlurEvent> onValueInputBlur); @Override void select(); @Override String toDisplay(final String rawValue);  }