@Override
  public Map<String, Boolean> getProjectUuidToManaged(DbSession dbSession, Set<String> projectUuids) {
    return findManagedProjectService()
      .map(managedProjectService -> managedProjectService.getProjectUuidToManaged(dbSession, projectUuids))
      .orElse(returnNonManagedForAll(projectUuids));
  }
@Test
  public void getProjectUuidToManaged_whenNoDelegates_setAllProjectsAsNonManaged() {
    Set<String> projectUuids = Set.of("a", "b");
    DelegatingManagedServices managedInstanceService = NO_MANAGED_SERVICES;

    Map<String, Boolean> projectUuidToManaged = managedInstanceService.getProjectUuidToManaged(dbSession, projectUuids);

    assertThat(projectUuidToManaged).containsExactlyInAnyOrderEntriesOf(Map.of("a", false, "b", false));
  }