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