@Test
public void getReplaceableTermsOfQueryReturnsExpectedPairOfNotQueryWithSingleTerm() {

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