@Test
  public void testSimple() {
    Bootstrap bootstrap = new Bootstrap();

    JLineShellComponent shell = bootstrap.getJLineShellComponent();

    CommandResult cr = shell.executeCommand("hw simple --message hello");
    assertEquals(true, cr.isSuccess());
    assertEquals("Message = [hello] Location = [null]", cr.getResult());
  }
 public static void main(String[] args) throws Exception {
   Bootstrap.main(new String[] {});
 }
 @Before
 public void initTest() throws Exception {
   Bootstrap bootstrap = new Bootstrap();
   detectLanguageClient = bootstrap.getApplicationContext().getBean(IDetectLanguageClient.class);
 }