@Test
public void getIndexOfFirstAppearanceOfAnyReturnsMinusOneWhenStartIndexGreaterThanInputLength() {

    // given
    var input = "abcd";
    var characters = Set.of('b');
    var startIndex = 3;
    var expectedIndex = -1;
    // when
    var actualIndex = HibernateSimpleQueryUtils.getIndexOfFirstAppearanceOfAny(startIndex, characters, input);
    // then
    assertThat(actualIndex).isEqualTo(expectedIndex);
}