startArgsParser.parse(new String[]{"start", "-p", "12306", "-c", "foo.json", "-e", "foo"});
}
@Test
public void should_parse_without_port() {
StartArgs args = startArgsParser.parse(new String[]{"start", "-c", "foo.json"});
assertThat(args.getPort(), is(Optional.<Integer>absent()));
assertThat(args.getConfigurationFile().get(), is("foo.json"));
}