components/src/test/java/eu/internetofus/common/components/incentive_server/TaskTypeStatusBodyPredicates.java
/**
   * Check that the task status has the specified user.
   *
   * @param user identifier to match for the task status.
   *
   * @return the predicate to do this match.
   */
Check that the task status has the specified user.
@param user identifier to match for the task status.

@return the predicate to do this match.
Check that the task status has the specified user . @param user identifier to match for the task status . @return the predicate to do this match .
static Predicate<TaskTypeStatusBody> userIs(final String user) {
    return msg -> {
      return msg.user_id.equals(user);
    };
  }
static Predicate < TaskTypeStatusBody > userIs ( final String user ) { return msg -> { return msg . user_id . equals ( user ) ; } ; }
Check that the task status has the specified user.
Check that the task status has the specified user .