AsyncBatchExecutor { public static void main(String[] args) { AsyncBatchExecutor asyncBatchExecutor = new AsyncBatchExecutor(); int status = asyncBatchExecutor.doMain(args); System.exit(status); }  static void main(String[] args); static final int FAIL_TO_OBTAIN_JOB_OPERATOR_CODE; }
@Test public void testMain() throws Exception { try { AsyncBatchExecutor.main(new String[0]); fail(); } catch (SecurityManagerEx.ExitException e) { assertEquals(23, e.state); } }