public Process executeWithNoStreamCollection()
      throws IOException, InterruptedException, ExecutionException {
    logger.atInfo().log("Executing the following command: '%s'", COMMAND_ARGS_JOINER.join(args));
    process = processBuilder.start();
    return process;
  }
@Test
  public void executeWithNoStreamCollection_always_startsProcessAndReturnsProcessInstance()
      throws IOException, InterruptedException, ExecutionException {
    CommandExecutor executor = new CommandExecutor("/bin/sh", "-c", "echo 1");

    Process process = executor.executeWithNoStreamCollection();
    process.waitFor();

    assertThat(process.exitValue()).isEqualTo(0);
  }