@Test
public void itReturnsAHelpCommandWithServerOptions() throws Exception {
final Runnable runnable = parse("server", "--config=src/test/resources/not-here.properties", "--port=8080");
assertThat(runnable, is(HelpCommand.class));
final HelpCommand cmd = (HelpCommand) runnable;
assertThat(cmd.getOutputStream(), is(sameInstance((OutputStream) System.out)));
assertThat(cmd.getText(), is(
"Error: Config file does not exist\n" +
"\n" +
"usage: shoretest server -c <file> -p <port>\n" +
" -c, --config=FILE Which Hibernate config file to use\n" +
" -h, --host=HOST Which hostname to listen on\n" +