@Test
    void testNotEqual() {
        Query q = new Query("/?query=something+test&nocache");
        Query p = new Query("/?query=something+test");
        assertEquals(q, p);
        assertEquals(q.hashCode(), p.hashCode());
        Query r = new Query("?query=something+test&hits=5");
        assertNotSame(q, r);
        assertNotSame(q.hashCode(), r.hashCode());
    }
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