### Question:
DayTimeSelector implements TypedValueSelector { @Override public Element getElement() { return view.getElement(); } @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);  }### Answer:
@Test public void testGetElement() { final HTMLElement expected = mock(HTMLElement.class); when(view.getElement()).thenReturn(expected); final Element actual = dayTimeSelector.getElement(); assertEquals(expected, actual); }