@Test
public void getIndexAfterFirstAppearanceOfAnyReturnsIndexAfterFirstAppearanceAfterStartIndexOfAnyCharacter() {

    // given
    var input = "xyz abcd";
    var characters = Set.of('a', 'b');
    var expectedIndex = 5;
    var startIndex = 3;
    // when
    var actualIndex = HibernateSimpleQueryUtils.getIndexAfterFirstAppearanceOfAny(startIndex, characters, input);
    // then
    assertThat(actualIndex).isEqualTo(expectedIndex);
}