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

@param attributes to match for the transaction interaction.

@return the predicate to do this match.
Check that the interaction has the specified transaction transaction attributes . @param attributes to match for the transaction interaction . @return the predicate to do this match .
static Predicate<Interaction> transactionAttributesAre(final JsonObject attributes) {
    return interaction -> {
      return interaction.transactionAttributes != null && interaction.transactionAttributes.equals(attributes);
    };
  }
static Predicate < Interaction > transactionAttributesAre ( final JsonObject attributes ) { return interaction -> { return interaction . transactionAttributes != null && interaction . transactionAttributes . equals ( attributes ) ; } ; }
Check that the interaction has the specified transaction transaction
 attributes.
Check that the interaction has the specified transaction transaction attributes .