public TurnServerOptions getRoutingFor(
      @Nonnull final UUID aci,
      @Nonnull final Optional<InetAddress> clientAddress,
      final int instanceLimit
  ) {
    try {
      return getRoutingForInner(aci, clientAddress, instanceLimit);
    } catch(Exception e) {
      logger.error("Failed to perform routing", e);
      return new TurnServerOptions(this.configTurnRouter.getHostname(), null, this.configTurnRouter.randomUrls());
    }
  }
@Test
  public void testPrioritizesTargetedUrls() throws UnknownHostException {
    List<String> targetedUrls = List.of(
        "targeted1.example.com",
        "targeted.example.com"
    );
    when(configTurnRouter.targetedUrls(any()))
        .thenReturn(targetedUrls);

    assertThat(router().getRoutingFor(aci, Optional.of(InetAddress.getByName("0.0.0.1")), 10))
        .isEqualTo(new TurnServerOptions(
            TEST_HOSTNAME,
            null,
            targetedUrls
        ));
  }