### Question:
GraphQLHttpService { public InetSocketAddress socketAddress() { if (httpServer == null) { return EMPTY_SOCKET_ADDRESS; } return new InetSocketAddress(config.getHost(), httpServer.actualPort()); } GraphQLHttpService(
      final Vertx vertx,
      final Path dataDir,
      final GraphQLConfiguration config,
      final GraphQL graphQL,
      final GraphQLDataFetcherContextImpl dataFetcherContext,
      final EthScheduler scheduler); CompletableFuture<?> start(); CompletableFuture<?> stop(); InetSocketAddress socketAddress(); @VisibleForTesting String url();  }### Answer:
@Test public void getSocketAddressWhenActive() { final InetSocketAddress socketAddress = service.socketAddress(); Assertions.assertThat("127.0.0.1").isEqualTo(socketAddress.getAddress().getHostAddress()); Assertions.assertThat(socketAddress.getPort() > 0).isTrue(); }