@Test(expected = MissingOptionException.class)
public void testParseArguments() throws ParseException
{

    // Create an argument parser with a required "a" option.
    ArgumentParser argParser = new ArgumentParser("");
    argParser.addArgument("a", "some_required_parameter", true, "Some argument", true);
    // Parse the arguments with a missing argument which should thrown an exception since we are using the method that WILL fail on missing arguments.
    argParser.parseArguments(new String[] {});
}