components/src/test/java/eu/internetofus/common/components/service/WeNetServiceSimulators.java
/**
   * Wait the App has received the specified call backs.
   *
   * @param appId          identifier of the application to get the call backs.
   * @param checkCallbacks the function that has to be true to finish the get the
   *                       callbacks.
   * @param vertx          event bus to use.
   * @param testContext    context to do the test.
   *
   * @return the future that will return the callbacks that satisfy the predicate.
   */
Wait the App has received the specified call backs.
@param appId          identifier of the application to get the call backs.
@param checkCallbacks the function that has to be true to finish the get the
callbacks.
@param vertx          event bus to use.
@param testContext    context to do the test.

@return the future that will return the callbacks that satisfy the predicate.
Wait the App has received the specified call backs . @param appId identifier of the application to get the call backs . @param checkCallbacks the function that has to be true to finish the get the callbacks . @param vertx event bus to use . @param testContext context to do the test . @return the future that will return the callbacks that satisfy the predicate .
static Future<JsonArray> waitUntilCallbacks(final String appId, final Predicate<JsonArray> checkCallbacks,
      final Vertx vertx, final VertxTestContext testContext) {
    final Promise<JsonArray> promise = Promise.promise();
    waitUntilCallbacks(appId, checkCallbacks, vertx, testContext, promise);
    return promise.future();
  }
static Future < JsonArray > waitUntilCallbacks ( final String appId , final Predicate < JsonArray > checkCallbacks , final Vertx vertx , final VertxTestContext testContext ) { final Promise < JsonArray > promise = Promise . promise ( ) ; waitUntilCallbacks ( appId , checkCallbacks , vertx , testContext , promise ) ; return promise . future ( ) ; }
Wait the App has received the specified call backs.
Wait the App has received the specified call backs .