@Test
public void subcommands() throws Exception {

    Result pr = ShellCommandParser.parse("get style");
    assertEquals(0, pr.getRemainingArgs().length);
    assertEquals(ShellGetCommand.class, pr.getFirstCommand());
    assertEquals(ShellGetStyleCommand.class, pr.getLastCommand());
    pr = ShellCommandParser.parse("  get    style  ");
    assertEquals(0, pr.getRemainingArgs().length);
    assertEquals(ShellGetCommand.class, pr.getFirstCommand());
    assertEquals(ShellGetStyleCommand.class, pr.getLastCommand());
}