/** Test method for {@link org.powertac.common.enumerations.PowerType#isInterruptible()}. */ @Test public void testIsInterruptible() { PowerType pt = PowerType.INTERRUPTIBLE_CONSUMPTION; assertTrue("is interruptible 1", pt.isInterruptible()); pt = PowerType.THERMAL_STORAGE_CONSUMPTION; assertTrue("is interruptible 2", pt.isInterruptible()); pt = PowerType.CONSUMPTION; assertFalse("not interruptible 1", pt.isInterruptible()); pt = PowerType.ELECTRIC_VEHICLE; assertTrue("is interruptible 3", pt.isInterruptible()); }