@Test
public void getReplaceableTermsOfQueryIgnoresParentheses() {

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