@Override
  public boolean isProjectVisibilitySynchronizationActivated() {
    return findManagedProjectService()
      .map(ManagedProjectService::isProjectVisibilitySynchronizationActivated)
      .orElse(false);
  }
@Test
  public void isProjectVisibilitySynchronizationActivated_whenManagedInstanceServices_shouldDelegatesToRightService() {
    DelegatingManagedServices managedInstanceService = new DelegatingManagedServices(Set.of(new NeverManagedInstanceService(), new AlwaysManagedInstanceService()));

    assertThat(managedInstanceService.isProjectVisibilitySynchronizationActivated()).isTrue();
  }