code: public AutoScaleRun evaluateAutoScale(String poolId, String autoScaleFormula,
                                            Iterable<BatchClientBehavior> additionalBehaviors) throws BatchErrorException, IOException {
          PoolEvaluateAutoScaleOptions options = new PoolEvaluateAutoScaleOptions();
          BehaviorManager bhMgr = new BehaviorManager(this.customBehaviors(), additionalBehaviors);
          bhMgr.applyRequestBehaviors(options);
  
          return this.parentBatchClient.protocolLayer().pools().evaluateAutoScale(poolId, autoScaleFormula, options);
      }
docs: Gets the result of evaluating an automatic scaling formula on the specified
  pool. This is primarily for validating an autoscale formula, as it simply
  returns the result without applying the formula to the pool.
  
  @param poolId
  The ID of the pool.
  @param autoScaleFormula
  The formula to be evaluated on the pool.
  @param additionalBehaviors
  A collection of {@link BatchClientBehavior} instances that are
  applied to the Batch service request.
  @return The result of evaluating the formula on the specified pool.
  @throws BatchErrorException
  Exception thrown when an error response is received from the
  Batch service.
  @throws IOException
  Exception thrown when there is an error in
  serialization/deserialization of data sent to/received from the
  Batch service.