@Test
public void getIndexAfterFirstAppearanceOfReturnsIndexAfterFirstAppearanceAfterStartIndexWhenCharacterPresent() {

    // given
    var input = "abc test";
    var character = 't';
    var expectedIndex = 5;
    var startIndex = 3;
    // when
    var actualIndex = HibernateSimpleQueryUtils.getIndexAfterFirstAppearanceOf(startIndex, character, input);
    // then
    assertThat(actualIndex).isEqualTo(expectedIndex);
}