components/src/test/java/eu/internetofus/common/components/interaction_protocol_engine/ProtocolAddressTest.java
/**
   * Create an example model that has the specified index that create any required
   * component.
   *
   * @param index       to use in the example.
   * @param vertx       event bus to use.
   * @param testContext context to test.
   *
   * @return the created protocol address.
   */
Create an example model that has the specified index that create any required
component.

@param index       to use in the example.
@param vertx       event bus to use.
@param testContext context to test.

@return the created protocol address.
Create an example model that has the specified index that create any required component . @param index to use in the example . @param vertx event bus to use . @param testContext context to test . @return the created protocol address .
public Future<ProtocolAddress> createModelExample(final int index, final Vertx vertx,
      final VertxTestContext testContext) {
    return StoreServices.storeProfile(new WeNetUserProfile(), vertx, testContext).compose(profile -> {
      final var model = this.createModelExample(index);
      model.userId = profile.id;
      return Future.succeededFuture(model);
    });
  }
public Future < ProtocolAddress > createModelExample ( final int index , final Vertx vertx , final VertxTestContext testContext ) { return StoreServices . storeProfile ( new WeNetUserProfile ( ) , vertx , testContext ) . compose ( profile -> { final var model = this . createModelExample ( index ) ; model . userId = profile . id ; return Future . succeededFuture ( model ) ; } ) ; }
Create an example model that has the specified index that create any required
 component.
Create an example model that has the specified index that create any required component .