@Test
public void getReplaceableTermsOfQueryReturnsExpectedPairOfSingleWordQuery() {

    // given
    var simpleQuery = "test";
    var expectedPair = Pair.of(0, simpleQuery.length() - 1);
    // when
    var actualPairs = HibernateSimpleQueryUtils.getReplaceableTermsOfQuery(simpleQuery);
    // then
    assertThat(actualPairs).containsExactly(expectedPair);
}