components/src/test/java/eu/internetofus/common/components/WeNetComponentContainer.java
/**
   * Configure the container of the component.
   *
   * @param containers where the container will be used.
   *
   * @return the instance of this container.
   */
Configure the container of the component.
@param containers where the container will be used.

@return the instance of this container.
Configure the container of the component . @param containers where the container will be used . @return the instance of this container .
public SELF with(final Containers containers) {
    return this.withEnv("DB_HOST", containers.getMongoDBHost())
        .withEnv("DB_PORT", String.valueOf(containers.getMongoDBPort())).withEnv("DB_NAME", Containers.MONGODB_NAME)
        .withEnv("DB_USER_NAME", Containers.MONGODB_USER).withEnv("DB_USER_PASSWORD", Containers.MONGODB_PASSWORD)
        .withNetwork(containers);
  }
public SELF with ( final Containers containers ) { return this . withEnv ( "DB_HOST" , containers . getMongoDBHost ( ) ) . withEnv ( "DB_PORT" , String . valueOf ( containers . getMongoDBPort ( ) ) ) . withEnv ( "DB_NAME" , Containers . MONGODB_NAME ) . withEnv ( "DB_USER_NAME" , Containers . MONGODB_USER ) . withEnv ( "DB_USER_PASSWORD" , Containers . MONGODB_PASSWORD ) . withNetwork ( containers ) ; }
Configure the container of the component.
Configure the container of the component .