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

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