components/src/test/java/eu/internetofus/common/components/task_manager/TaskTransactionPredicates.java
/**
   * Return a predicate the check that the transaction does not have messages.
   *
   * @return the predicate to check the transaction does not have messages.
   */
Return a predicate the check that the transaction does not have messages.
@return the predicate to check the transaction does not have messages.
Return a predicate the check that the transaction does not have messages . @return the predicate to check the transaction does not have messages .
static Predicate<TaskTransaction> withoutMessages() {
    return target -> {
      return target.messages == null || target.messages.isEmpty();
    };
  }
static Predicate < TaskTransaction > withoutMessages ( ) { return target -> { return target . messages == null || target . messages . isEmpty ( ) ; } ; }
Return a predicate the check that the transaction does not have messages.
Return a predicate the check that the transaction does not have messages .