@Test
public void itReturnsAHelpCommandWithServerOptions() throws Exception {
final Runnable runnable = parse("server", "-h");
assertThat(runnable, is(HelpCommand.class));
final HelpCommand cmd = (HelpCommand) runnable;
assertThat(cmd.getOutputStream(), is(sameInstance((OutputStream) System.out)));
assertThat(cmd.getText(), is(
"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" +
" -p, --port=PORT Which port to bind to"
));