@Test
public void getIndexAfterFirstAppearanceOfAnyReturnsMinusOneWhenStartIndexGreaterThanInputLength() {

    // given
    var input = "test";
    var characters = Set.of('t', 'e');
    var expectedIndex = -1;
    var startIndex = 4;
    // when
    var actualIndex = HibernateSimpleQueryUtils.getIndexAfterFirstAppearanceOfAny(startIndex, characters, input);
    // then
    assertThat(actualIndex).isEqualTo(expectedIndex);
}