@Test
public void getReplaceableTermsOfQueryDoesNotIncludeParentheses() {

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