@Test
public void getReplaceableTermsOfQueryReturnsExpectedPairOfNotQueryWithMultipleTerms() {

    // given
    var simpleQuery = "-(test spring)";
    var expectedPairs = List.of(
            Pair.of(2, 5),
            Pair.of(7, 12)
    );
    // when
    var actualPairs = HibernateSimpleQueryUtils.getReplaceableTermsOfQuery(simpleQuery);
    // then
    assertThat(actualPairs).containsExactlyInAnyOrderElementsOf(expectedPairs);
}