@Test public void clearingLowPrioDoesntAffectHighPrioMappings() { mc.setHighPrio(true); mc.put("k", "v"); mc.clearLowPrio(); assertEquals(mc.get("k"), "v"); }
@Test public void clearingLowPrioDeletesLowPrioMappings() { mc.setHighPrio(false); mc.put("k", "v"); mc.clearLowPrio(); assertEquals(mc.get("k"), null); }