components/src/test/java/eu/internetofus/common/components/AbstractComponentMocker.java
/**
   * Create client with the default session headers.
   *
   * @param vertx event bus to use.
   *
   * @return the client with the default session headers.
   */
Create client with the default session headers.
@param vertx event bus to use.

@return the client with the default session headers.
Create client with the default session headers . @param vertx event bus to use . @return the client with the default session headers .
public static WebClient createClientWithDefaultSession(final Vertx vertx) {
    final var config = new JsonObject().put(AbstractServicesVerticle.WEB_CLIENT_CONF_KEY, new JsonObject()
        .put(AbstractServicesVerticle.WENET_COMPONENT_APIKEY_CONF_KEY, Containers.DEFAULT_WENET_COMPONENT_APIKEY));
    return AbstractServicesVerticle.createWebClientSession(vertx, config);
  }
public static WebClient createClientWithDefaultSession ( final Vertx vertx ) { final var config = new JsonObject ( ) . put ( AbstractServicesVerticle . WEB_CLIENT_CONF_KEY , new JsonObject ( ) . put ( AbstractServicesVerticle . WENET_COMPONENT_APIKEY_CONF_KEY , Containers . DEFAULT_WENET_COMPONENT_APIKEY ) ) ; return AbstractServicesVerticle . createWebClientSession ( vertx , config ) ; }
Create client with the default session headers.
Create client with the default session headers .