components/src/test/java/eu/internetofus/common/components/social_context_builder/UserMessagePredicates.java
/**
   * Check that the message.
   *
   * @param checkMessage predicate to check the user message.
   *
   * @return the predicate to do this match.
   */
Check that the message.
@param checkMessage predicate to check the user message.

@return the predicate to do this match.
Check that the message . @param checkMessage predicate to check the user message . @return the predicate to do this match .
static Predicate<UserMessage> message(final Predicate<Message> checkMessage) {
    return msg -> {
      return checkMessage.test(msg.message);
    };
  }
static Predicate < UserMessage > message ( final Predicate < Message > checkMessage ) { return msg -> { return checkMessage . test ( msg . message ) ; } ; }
Check that the message.
Check that the message .