@Test
public void getIndexAfterFirstAppearanceOfReturnsMinusOneWhenCharacterNotPresent() {

    // given
    var input = "abc";
    var character = 'e';
    var expectedIndex = -1;
    var startIndex = 0;
    // when
    var actualIndex = HibernateSimpleQueryUtils.getIndexAfterFirstAppearanceOf(startIndex, character, input);
    // then
    assertThat(actualIndex).isEqualTo(expectedIndex);
}