@Test
    void testInvalidTraceLevel2() {
        Throwable exception = assertThrows(IllegalArgumentException.class, () -> {
            getParsedOptions("--trace", "10");
        });
        assertTrue(exception.getMessage().contains("Invalid tracelevel: 10"));
    }
Test class for {@link CommandLineOptions}

@author bjorncs
@since 5.26
vespaclient-java/src/test/java/com/yahoo/vespaget/CommandLineOptionsTest.java