components/src/test/java/eu/internetofus/common/components/task_manager/TaskPredicates.java
/**
   * Return a predicate the check that the task attributes are equals to a source.
   *
   * @param source expected attributes.
   *
   * @return the predicate to check the task attributes.
   */
Return a predicate the check that the task attributes are equals to a source.
@param source expected attributes.

@return the predicate to check the task attributes.
Return a predicate the check that the task attributes are equals to a source . @param source expected attributes . @return the predicate to check the task attributes .
static Predicate<Task> attributesAre(final JsonObject source) {
    return attributesAre(target -> target.equals(source));
  }
static Predicate < Task > attributesAre ( final JsonObject source ) { return attributesAre ( target -> target . equals ( source ) ) ; }
Return a predicate the check that the task attributes are equals to a source.
Return a predicate the check that the task attributes are equals to a source .