@Test
public void shouldReturnDateValueFromGivenIndex() {

    // given
    Date date = new Date();
    ValueHolder holder = new DateHolder(date);
    MultiValue mv = new DefaultMultiValue(new Object[]{holder});
    // when then
    assertThat(mv.getDate(0)).isEqualTo(date);
}