@Test
public void testDontAllowSetOnlyWithArgs() throws Exception {

    expect.expectMessage("Argument options cannot be set by default");
    commandLine.newOption().shortOption("a").hasValue(true, true);
}