@Test
    void testInvalidCombination4() {
        Throwable exception = assertThrows(IllegalArgumentException.class, () -> {
            getParsedOptions("--route", "dummyroute", "--cluster", "dummycluster");
        });
        assertTrue(exception.getMessage().contains("Cluster and route options are mutually exclusive."));
    }
Test class for {@link CommandLineOptions}

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