### Question:
AclEnforcer extends Enforcer<AclBinding> { @Override protected void delete(List<AclBinding> toDelete) { if (!dryRun) { aclService.delete(toDelete); } } AclEnforcer(Collection<AclBinding> configured, AclService aclService, boolean safemode, boolean dryRun);   }### Answer:
@Test public void testDeleteDryRun() throws IOException { enforcer.delete(acls); verify(aclService, times(0)).delete(anyCollectionOf(AclBinding.class)); }