StellarShell extends AeshConsoleCallback implements Completion { public static void main(String[] args) throws Exception { StellarShell shell = new StellarShell(args); shell.run(); } StellarShell(String[] args); static void main(String[] args); void run(); @Override int execute(ConsoleOperation output); @Override void complete(CompleteOperation completeOperation); StellarShellExecutor getExecutor(); Console getConsole(); static final String ERROR_PROMPT; static final String STELLAR_PROPERTIES_FILENAME; }
@Test public void testStart() throws Exception { StellarShell.main(new String[0]); assertTrue(stdoutWithNewlines().contains(StellarShell.WELCOME)); }