@Test
    void testSetNullProperty() {
        QueryProfile profile = new QueryProfile("test");
        profile.set("property", "initialValue", null);
        Query query = new Query(httpEncode("?query=test"), profile.compile(null));
        assertEquals("initialValue", query.properties().get("property"));
        query.properties().set("property", null);
        assertNull(query.properties().get("property"));
    }
Test that we get the last value if a parameter is assigned multiple times
container-search/src/test/java/com/yahoo/search/test/QueryTestCase.java