@Test
  public void testInvokeMainWithTwoArgs() throws Exception {
    Class<?> clazz = getClass();
    Method mainMethod = clazz.getMethod("main", String[].class);
    String[] args = new String[] {"arg0", "arg1"};
    mainMethod.invoke(null, new Object[] {args});
    assertTrue(flag);
  }
Quick sanity tests to make sure MainLauncher is functional.
geode-core/src/test/java/org/apache/geode/test/process/MainLauncherJUnitTest.java