public void execute(ProjectReactor reactor) {
    executeProjectBuilders(projectBuilders, reactor, "Execute project builders");
  }
@Test
  public void testProjectBuilderFailsWithoutToString() {

    ProjectBuilder[] projectBuilders = {new MyProjectBuilder()};

    assertThatThrownBy(() -> new ProjectBuildersExecutor(mock(GlobalConfiguration.class), projectBuilders).execute(reactor))
      .isInstanceOf(MessageException.class)
      .hasMessage("Failed to execute project builder: org.sonar.scanner.scan.ProjectBuildersExecutorTest$MyProjectBuilder");
  }