newAllocationResult(0.9, true, avs);
newAllocationResult(Constants.Confidence.SCHEDULED, true, avs);
  private void createLateAllocation(Task withdraw, long end,                                    Inventory inv, LogisticsInventoryPG thePG) {    AspectValue avs[] = new AspectValue[2];    avs[0] = AspectValue.newAspectValue(AspectType.END_TIME, end);    avs[1] = AspectValue.newAspectValue(AspectType.QUANTITY,                                        getTaskUtils().getPreference(withdraw, AspectType.QUANTITY));    AllocationResult estimatedResult = inventoryPlugin.getPlanningFactory().            newAllocationResult(0.9, true, avs);    compareResults(estimatedResult, withdraw, inv, thePG);  }