public ProcessWrapper create(@Nullable Path baseDir, Consumer<String> stdOutLineConsumer, String... command) {
    return new ProcessWrapper(baseDir, stdOutLineConsumer, Map.of(), command);
  }
@Test
  public void should_log_error_output_in_debug_mode() throws IOException {
    logTester.setLevel(Level.DEBUG);
    var root = temp.newFolder().toPath();
    var processWrapper = underTest.create(root, v -> {}, Map.of("LANG", "en_US"), "git", "blame");
    assertThatThrownBy(processWrapper::execute)
      .isInstanceOf(IllegalStateException.class);

    assertThat(logTester.logs(Level.DEBUG).get(0)).startsWith("fatal:");
  }