@Test
public void shouldThrowAnExceptionWhenAskingForValueFromNonexistentIndex() {

    // given
    MultiValue mv = new DefaultMultiValue(new Object[]{});
    // when
    catchException(mv).get(0);
    // then
    assertThat(caughtException()).isInstanceOf(InvalidValueIndexException.class);
}