@Test
void correctSubcommandCorrectArgumentCorrectValue() throws IOException {

    File f = File.createTempFile("robozonky-", ".tmp");
    System.setIn(new ByteArrayInputStream("\n".getBytes()));
    final int exit = Cli.parse("strategy-validator", "--location=" + f.toURI()
        .toURL());
    assertThat(exit).isEqualTo(CommandLine.ExitCode.SOFTWARE + 1);
}