@Test
    void testLongQueryParsing() {
        Query q = newQuery("/p13n?query=news"
                + "interest:cnn!254+interest:cnnfn!171+interest:cnn+"
                + "financial!96+interest:"
                + "yahoo+com!253+interest:www+yahoo!138+"
                + "interest:www+yahoo+com!136"
                + "&hits=20&offset=0&vectorranking=queryrank");
        assertEquals("/p13n", q.getUri().getPath());
        assertEquals(0, q.getOffset());
        assertEquals(20, q.getHits());
        assertEquals("queryrank", q.properties().get("vectorranking"));
    }
Tests for query class

@author Bjorn Borud
container-search/src/test/java/com/yahoo/prelude/test/QueryTestCase.java