### Question:
DateTimeValueConverter { String getDate(final DateTimeValue value) { return dateValueFormatter.getDate(value.getDate()); } @Inject  DateTimeValueConverter(final DateValueFormatter dateValueFormatter,
                                  final TimeValueFormatter timeValueFormatter); String toDMNString(final DateTimeValue value); DateTimeValue fromDMNString(final String dmnString); String toDisplay(final String rawValue);  }### Answer:
@Test public void testGetDate() { final String date = "2019-06-02"; final String expected = "something" + date; final DateTimeValue dateTimeValue = new DateTimeValue(); dateTimeValue.setDate(date); when(dateValueFormatter.getDate(date)).thenReturn(expected); final String actual = converter.getDate(dateTimeValue); assertEquals(expected, actual); }