### Question:
AveragePowerEnergyPredictor extends AbstractEnergyPredictor { @Override public double getRootMeanSquareError(Host host) { return Double.MAX_VALUE; } AveragePowerEnergyPredictor();  AveragePowerEnergyPredictor(PropertiesConfiguration config); @Override EnergyUsagePrediction getHostPredictedEnergy(Host host, Collection<VM> virtualMachines, TimePeriod duration); @Override EnergyUsagePrediction getVMPredictedEnergy(VM vm, Collection<VM> virtualMachines, Host host, TimePeriod timePeriod); @Override double predictPowerUsed(Host host); @Override double predictPowerUsed(Host host, double usageCPU); @Override double getSumOfSquareError(Host host); @Override double getRootMeanSquareError(Host host); @Override String toString(); @Override void printFitInformation(Host host);  }### Answer:
@Test public void testGetRootMeanSquareError() { System.out.println("getRootMeanSquareError"); AveragePowerEnergyPredictor instance = new AveragePowerEnergyPredictor(); double expResult = Double.MAX_VALUE; double result = instance.getRootMeanSquareError(host); assertEquals(expResult, result, 0.0); }