PowerModelSquare implements PowerModel { protected double getMaxPower() { return maxPower; } PowerModelSquare(double maxPower, double staticPowerPercent); @Override double getPower(double utilization);  }
@Test public void testGetMaxPower() { assertEquals(MAX_POWER, powerModel.getMaxPower(), 0); }