protocols/src/test/java/eu/internetofus/common/protocols/AbstractProtocolITC.java
/**
   * Create the predicate over a message for the current state of the test.
   *
   * @return the predicate for the message.
   *
   * @see #app
   */
Create the predicate over a message for the current state of the test.
@return the predicate for the message.

@see #app
Create the predicate over a message for the current state of the test . @return the predicate for the message . @see #app
protected Predicate<Message> createMessagePredicate() {
    return message -> {
      if (this.app != null && !this.app.appId.equals(message.appId)) {
        return false;
      }
      return true;
    };
  }
protected Predicate < Message > createMessagePredicate ( ) { return message -> { if ( this . app != null && ! this . app . appId . equals ( message . appId ) ) { return false ; } return true ; } ; }
Create the predicate over a message for the current state of the test.
Create the predicate over a message for the current state of the test .