components/src/test/java/eu/internetofus/common/components/service/WeNetServiceSimulatorMocker.java
/**
   * Create the handler to delete all the users.
   *
   * @return the handler to delete all the users.
   */
Create the handler to delete all the users.
@return the handler to delete all the users.
Create the handler to delete all the users . @return the handler to delete all the users .
protected DataElementHandler createDeleteUsersHandler() {
    return (ctx, index) -> {
      final var app = this.data.get(index);
      app.users = new JsonArray();
      final var response = ctx.response();
      response.setStatusCode(Status.NO_CONTENT.getStatusCode());
      response.end();
    };
  }
protected DataElementHandler createDeleteUsersHandler ( ) { return ( ctx , index ) -> { final var app = this . data . get ( index ) ; app . users = new JsonArray ( ) ; final var response = ctx . response ( ) ; response . setStatusCode ( Status . NO_CONTENT . getStatusCode ( ) ) ; response . end ( ) ; } ; }
Create the handler to delete all the users.
Create the handler to delete all the users .