components/src/test/java/eu/internetofus/common/components/personal_context_builder/WeNetPersonalContextBuilderSimulator.java
/**
   * Defined method only for testing and can store a user location.
   *
   * @param location to add.
   *
   * @return the added location.
   */
Defined method only for testing and can store a user location.
@param location to add.

@return the added location.
Defined method only for testing and can store a user location . @param location to add . @return the added location .
@GenIgnore
  default Future<UserLocation> addUserLocation(@NotNull final UserLocation location) {
    final Promise<JsonObject> promise = Promise.promise();
    this.addUserLocation(location.toJsonObject(), promise);
    return Model.fromFutureJsonObject(promise.future(), UserLocation.class);
  }
@ GenIgnore default Future < UserLocation > addUserLocation ( @ NotNull final UserLocation location ) { final Promise < JsonObject > promise = Promise . promise ( ) ; this . addUserLocation ( location . toJsonObject ( ) , promise ) ; return Model . fromFutureJsonObject ( promise . future ( ) , UserLocation . class ) ; }
Defined method only for testing and can store a user location.
Defined method only for testing and can store a user location .