### Question:
TimePicker { boolean isDateSetInInput() { return !StringUtils.isEmpty(getInputBind().value) && !StringUtils.isEmpty(getInputBind().value.trim()) && getInputBind().value.contains(":"); } @Inject  TimePicker(final View view); void bind(final HTMLInputElement input); void setOnDateChanged(final Consumer<Moment> onDateChanged); String getValue(); void setValue(final String value);  }### Answer:
@Test public void testIsDateSetInInput() { input.value = "01:25"; final boolean actual = picker.isDateSetInInput(); assertTrue(actual); }
@Test public void testIsDateSetInInputDateNotSet() { input.value = ""; final boolean actual = picker.isDateSetInInput(); assertFalse(actual); }
@Test public void testIsDateSetInInputNotATime() { input.value = "1234"; final boolean actual = picker.isDateSetInInput(); assertFalse(actual); }