components/src/test/java/eu/internetofus/common/components/service/WeNetServiceSimulatorMocker.java
/**
   * Create the handler to obtain the user handlers.
   *
   * @return the handler to retrieve the users.
   */
Create the handler to obtain the user handlers.
@return the handler to retrieve the users.
Create the handler to obtain the user handlers . @return the handler to retrieve the users .
protected DataElementHandler createGetUsersHandler() {
    return (ctx, index) -> {
      final var response = ctx.response();
      response.setStatusCode(Status.OK.getStatusCode());
      response.end(this.data.get(index).users.toBuffer());
    };
  }
protected DataElementHandler createGetUsersHandler ( ) { return ( ctx , index ) -> { final var response = ctx . response ( ) ; response . setStatusCode ( Status . OK . getStatusCode ( ) ) ; response . end ( this . data . get ( index ) . users . toBuffer ( ) ) ; } ; }
Create the handler to obtain the user handlers.
Create the handler to obtain the user handlers .