@Test
    void testStatistics() throws Exception {
        String[] args = new String[]{
                "--statistics", "foo"
        };
        VdsVisit.ArgumentParser parser = createMockArgumentParser();
        VdsVisit.VdsVisitParameters allParams = parser.parse(args);
        assertNotNull(allParams);

        VisitorParameters params = allParams.getVisitorParameters();
        assertNotNull(params);
        assertEquals("foo", allParams.getStatisticsParts());
        assertEquals(DocIdOnly.NAME, params.getFieldSet());
        assertEquals("CountVisitor", params.getVisitorLibrary());
    }
Test the parameters that could not be used in conjunction with
those in the first parameter test.
vespaclient-java/src/test/java/com/yahoo/vespavisit/VdsVisitTestCase.java