@Override
    public CommandLineImpl parse(final List<String> originalArgs, final Logger logger) {
        return CommandLineImpl.of(originalArgs, logger);
    }
@Test
    public void testVersion() throws Exception {
        final CommandLineParserImpl parser = new CommandLineParserImpl();
        final CommandLineImpl commandLine = parse(parser, "--version");
        assertEquals(Command.NONE, commandLine.getCommand());

        assertEquals("Embulk " + EmbulkVersion.VERSION + NEWLINE, commandLine.getStdOut());
        assertEquals("", commandLine.getStdErr());
    }