/** * Checks if the given set of PMs is not enabled. * * @param pms the PMs to check. */ public static void assertNotEnabled(PmObject... pms) { for (PmObject pm : pms) { if (pm.isPmEnabled()) { fail(pm.getPmRelativeName() + " should not be enabled."); } } }