public static void main(String[] args) {
    ProcessEntryPoint entryPoint = ProcessEntryPoint.createForArguments(args);
    Props props = entryPoint.getProps();
    new CeProcessLogging().configure(props);

    CeServer server = new CeServer(
      new ComputeEngineImpl(props, new ComputeEngineContainerImpl()),
      new MinimumViableSystem(),
      new CeSecurityManager(new PluginSecurityManager(), props));
    entryPoint.launch(server);
  }
@Test
  public void staticMain_withoutAnyArguments_expectException() {
    String[] emptyArray = {};

    assertThatThrownBy(() -> CeServer.main(emptyArray))
      .hasMessage("Only a single command-line argument is accepted (absolute path to configuration file)");
  }