components/src/test/java/eu/internetofus/common/components/interaction_protocol_engine/InteractionPredicates.java
/**
   * Check that the interaction has the specified app.
   *
   * @param app identifier to match for the interaction.
   *
   * @return the predicate to do this match.
   */
Check that the interaction has the specified app.
@param app identifier to match for the interaction.

@return the predicate to do this match.
Check that the interaction has the specified app . @param app identifier to match for the interaction . @return the predicate to do this match .
static Predicate<Interaction> appIs(final String app) {
    return interaction -> {
      return interaction.appId.equals(app);
    };
  }
static Predicate < Interaction > appIs ( final String app ) { return interaction -> { return interaction . appId . equals ( app ) ; } ; }
Check that the interaction has the specified app.
Check that the interaction has the specified app .