public List<String> targetedUrls(final UUID aci) {
    final DynamicTurnConfiguration turnConfig = dynamicConfigurationManager.getConfiguration().getTurnConfiguration();

    final Optional<TurnUriConfiguration> enrolled = turnConfig.getUriConfigs().stream()
        .filter(config -> config.getEnrolledAcis().contains(aci))
        .findFirst();

      return enrolled
          .map(turnUriConfiguration -> turnUriConfiguration.getUris().stream().toList())
          .orElse(Collections.emptyList());
  }
@Test
  public void testExplicitEnrollment() throws JsonProcessingException {
    final String configString = """
        captcha:
          scoreFloor: 1.0
        turn:
          secret: bloop
          uriConfigs:
            - uris:
                - enrolled.org
              weight: 0
              enrolledAcis:
                - 732506d7-d04f-43a4-b1d7-8a3a91ebe8a6
            - uris:
                - unenrolled.org
              weight: 1
         """;
    DynamicConfiguration config = DynamicConfigurationManager
        .parseConfiguration(configString, DynamicConfiguration.class)
        .orElseThrow();

    @SuppressWarnings("unchecked")
    DynamicConfigurationManager<DynamicConfiguration> mockDynamicConfigManager = mock(
        DynamicConfigurationManager.class);

    when(mockDynamicConfigManager.getConfiguration()).thenReturn(config);
    final DynamicConfigTurnRouter configTurnRouter = new DynamicConfigTurnRouter(mockDynamicConfigManager);

    List<String> urls = configTurnRouter.targetedUrls(UUID.fromString("732506d7-d04f-43a4-b1d7-8a3a91ebe8a6"));
    assertThat(urls.getFirst()).isEqualTo("enrolled.org");
    urls = configTurnRouter.targetedUrls(UUID.randomUUID());
    assertTrue(urls.isEmpty());
  }