@Test(expected = IllegalArgumentException.class)
public void testParseOptions_withMissingOptions() {

    String[] args = new String[] { "fail-on-random-option" };
    Options options = new Options();
    options.addOption(Option.builder("o").required().build());
    CommonCLIBuilder.parseOptions(this.getClass(), args, options);
}