@Test
    void testEqual() {
        assertEquals(new Query("?query=12").hashCode(), new Query("?query=12").hashCode());
        assertEquals(new Query("?query=12"), new Query("?query=12"));
    }
Select is special handled due to the strange idea to also use it to contain subproperties with JSON.
container-search/src/test/java/com/yahoo/search/test/QueryTestCase.java