protocols/src/test/java/eu/internetofus/common/protocols/AbstractProtocolITC.java
/**
   * Create the task to be stored and used on tests.
   *
   * @return the task to store and use on the tests.
   */
Create the task to be stored and used on tests.
@return the task to store and use on the tests.
Create the task to be stored and used on tests . @return the task to store and use on the tests .
protected Task createTaskForProtocol() {
    final var taskForProtocol = new Task();
    taskForProtocol.appId = this.app.appId;
    taskForProtocol.communityId = this.community.id;
    taskForProtocol.taskTypeId = this.taskType.id;
    taskForProtocol.goal = new HumanDescription();
    taskForProtocol.goal.name = "Task to test";
    taskForProtocol.requesterId = this.users.get(0).id;
    return taskForProtocol;
  }
protected Task createTaskForProtocol ( ) { final var taskForProtocol = new Task ( ) ; taskForProtocol . appId = this . app . appId ; taskForProtocol . communityId = this . community . id ; taskForProtocol . taskTypeId = this . taskType . id ; taskForProtocol . goal = new HumanDescription ( ) ; taskForProtocol . goal . name = "Task to test" ; taskForProtocol . requesterId = this . users . get ( 0 ) . id ; return taskForProtocol ; }
Create the task to be stored and used on tests.
Create the task to be stored and used on tests .