PowerHost extends HostDynamicWorkload { public double getMaxPower() { double power = 0; try { power = getPowerModel().getPower(1); } catch (Exception e) { e.printStackTrace(); System.exit(0); } return power; } PowerHost(
			int id,
			RamProvisioner ramProvisioner,
			BwProvisioner bwProvisioner,
			long storage,
			List<? extends Pe> peList,
			VmScheduler vmScheduler,
			PowerModel powerModel); double getPower(); double getMaxPower(); double getEnergyLinearInterpolation(double fromUtilization, double toUtilization, double time); PowerModel getPowerModel();  }
@Test public void testGetMaxPower() { assertEquals(MAX_POWER, host.getMaxPower(), 0); }