### Question:
DateTimeValueConverter { String getTime(final DateTimeValue value) { return timeValueFormatter.getTime(value.getTime()); } @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 testGetTime() { final String time = "19:45:00"; final String expected = "something" + time; final DateTimeValue dateTimeValue = new DateTimeValue(); dateTimeValue.setTime(time); when(timeValueFormatter.getTime(time)).thenReturn(expected); final String actual = converter.getTime(dateTimeValue); assertEquals(expected, actual); }