@Test
public void failedOutputCaseOptions() throws Exception {

    when(commandLine.hasOption("output-case-folder")).thenReturn(true);
    when(commandLine.getOptionValue("output-case-folder")).thenReturn("/outcasefolder");
    when(commandLine.hasOption("output-case-format")).thenReturn(false);
    thrown.expect(ParseException.class);
    thrown.expectMessage("Missing required option: output-case-format");
    tool.run(commandLine, runningContext);
}