@Test
    void testInvalidCombination3() {
        Throwable exception = assertThrows(IllegalArgumentException.class, () -> {
            getParsedOptions("--printids", "--fieldset", AllFields.NAME);
        });
        assertTrue(exception.getMessage().contains("Field set option can not be used in combination with print ids option."));
    }
Test class for {@link CommandLineOptions}

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