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

@return the predicate to do this match.
Check that the task status has the specified count . @param count to match for the task status . @return the predicate to do this match .
static Predicate<TaskTypeStatusBody> countIs(final int count) {
    return msg -> {
      return msg.count == count;
    };
  }
static Predicate < TaskTypeStatusBody > countIs ( final int count ) { return msg -> { return msg . count == count ; } ; }
Check that the task status has the specified count.
Check that the task status has the specified count .