@Test
    void testStructuredRankProperty() {
        Query query = new Query("?query=abc&rankproperty.distanceToPath(gps_position).path=(0,0,10,0,10,5,20,5)");
        assertEquals("(0,0,10,0,10,5,20,5)", query.getRanking().getProperties().get("distanceToPath(gps_position).path").get(0));
    }
Test setting sorting to null does not cause an exception.
container-search/src/test/java/com/yahoo/search/query/test/RankingTestCase.java