@Test
    void requireThatSearchCloseToUnevenUpperBoundIsSensible() {
        PredicateRangeTermExpander expander = new PredicateRangeTermExpander(10, -99, 1234);
        Iterator<String> expectedLabels = List.of(
                "key=40-49",
                "key=0-99",
                "key=0-999",
                "key=0-9999").iterator();
        expander.expand("key", 42, range -> assertEquals(PredicateHash.hash64(expectedLabels.next()), range),
                (edge, value) -> {
                    assertEquals(PredicateHash.hash64("key=40"), edge);
                    assertEquals(2, value);
                });
        assertFalse(expectedLabels.hasNext());
    }
@author <a href="mailto:magnarn@yahoo-inc.com">Magnar Nedland</a>
predicate-search/src/test/java/com/yahoo/search/predicate/index/PredicateRangeTermExpanderTest.java