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

@return the predicate to do this match.
Check that the interaction has the specified transaction label . @param label to match for the transaction in the interaction . @return the predicate to do this match .
static Predicate<Interaction> transactionLabelIs(final String label) {
    return interaction -> {
      return interaction.transactionLabel.equals(label);
    };
  }
static Predicate < Interaction > transactionLabelIs ( final String label ) { return interaction -> { return interaction . transactionLabel . equals ( label ) ; } ; }
Check that the interaction has the specified transaction label.
Check that the interaction has the specified transaction label .