### Question:
DateSelector implements TypedValueSelector { @Override public String getValue() { return view.getValue(); } @Inject  DateSelector(final DateSelector.View view,
                        final DateValueFormatter dateValueFormatter); @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> blurEvent); @Override void select(); @Override String toDisplay(final String rawValue); boolean isChild(final Object element);  }### Answer:
@Test public void testGetValue() { final String expectedValue = "value"; when(view.getValue()).thenReturn(expectedValue); final String actualValue = dateSelector.getValue(); assertEquals(expectedValue, actualValue); }