@Override
  public boolean isProjectManaged(DbSession dbSession, String projectUuid) {
    return findManagedProjectService()
      .map(managedProjectService -> managedProjectService.isProjectManaged(dbSession, projectUuid))
      .orElse(false);
  }
@Test
  public void isProjectManaged_whenManagedNoInstanceServices_returnsFalse() {
    assertThat(NO_MANAGED_SERVICES.isProjectManaged(dbSession, "whatever")).isFalse();
  }