### Question:
ObjectPermissionServiceImpl extends HibernateDaoImpl implements
				ObjectPermissionService, ObjectPermissionServiceInternal,
				ApplicationContextAware, PersistentObjectResolver, InitializingBean { protected void clearAclEntriesCache(String uri) { InternalURIDefinition objId = new InternalURIDefinition(uri); if (log.isDebugEnabled()) { log.debug("Removing " + objId + " from permissions"); } if (nonMutableAclCache!=null) { nonMutableAclCache.evictFromCache(objId); } }  HibernateRepositoryService getRepositoryService(); void setRepositoryService(HibernateRepositoryService repoService); UserAuthorityService getUserAuthorityService(); void setUserAuthorityService(UserAuthorityService userService); ResourceFactory getObjectMappingFactory(); void setObjectMappingFactory(ResourceFactory objectFactory); ResourceFactory getPersistentClassFactory(); void setPersistentClassFactory(ResourceFactory persistentClassFactory); void setApplicationContext(ApplicationContext arg0); void setAuditContext(AuditContext auditContext); void setAttributePathTransformer(AttributePathTransformer attributePathTransformer); void deleteObjectPermissionForObject(ExecutionContext context, Object targetObject); @SuppressWarnings("rawtypes") void deleteObjectPermissionForRepositoryPath(ExecutionContext context, String path); @SuppressWarnings("rawtypes") void deleteObjectPermissionsForRecipient(ExecutionContext context, Object recipient); @SuppressWarnings("rawtypes") void deleteObjectPermissionsForRecipient(ExecutionContext context, ObjectRecipientIdentity recipientIdentity); @SuppressWarnings({ "rawtypes", "unchecked" }) @Override void deleteObjectCachePermissionsForRecipient(ExecutionContext context, ObjectRecipientIdentity recipientIdentity); boolean supports(Object obj); ObjectPermission newObjectPermission(ExecutionContext context); @SuppressWarnings("rawtypes") @Transactional void putObjectPermission(ExecutionContext context, ObjectPermission objPermission); void deleteObjectPermission(ExecutionContext context, ObjectPermission objPermission); ObjectPermission getObjectPermission(ExecutionContext context, ObjectPermission objPermission); @SuppressWarnings("rawtypes") List getObjectPermissionsForObject(ExecutionContext context, Object targetObject, final Object[] existingAcl); @SuppressWarnings("rawtypes") List getObjectPermissionsForObject(ExecutionContext context, Object targetObject); @SuppressWarnings("unchecked") @Override List<ObjectPermission> getEffectivePermissionsForObject(ExecutionContext context, Object targetObject); @SuppressWarnings("rawtypes") List getObjectPermissionsForRecipient(ExecutionContext context, Object recipient); @SuppressWarnings("rawtypes") List getObjectPermissionsForObjectAndRecipient(ExecutionContext context, Object targetObject, Object recipient); @SuppressWarnings({ "rawtypes", "unchecked" }) boolean isObjectAdministrable(ExecutionContext context, Object targetObject); boolean isAttributeAdministrable(ExecutionContext context, String attributePath); Object getPersistentObject(Object clientObject); @SuppressWarnings("rawtypes") RepoResource getExternalReference(String uri, Class persistentReferenceClass); @SuppressWarnings("rawtypes") RepoResource getReference(RepoResource owner, Resource resource, Class persistentReferenceClass); @SuppressWarnings({ "rawtypes", "unchecked" }) void updateObjectPermissionRepositoryPath(String oldPath, String newPath); @SuppressWarnings("rawtypes") int getInheritedObjectPermissionMask(ExecutionContext context,
			Object targetObject, Object recipient); void setNonMutableAclCache(NonMutableAclCache nonMutableAclCache); void setAclService(AclService aclService); @SuppressWarnings({ "unchecked" }) @Override List<ObjectPermission> getObjectPermissionsForSubtree(final String uri); @Override Acl getFromCache(final ObjectIdentity oId); @Override Acl putInCache(final Acl acl); static final String RECIPIENT_USED_FOR_INHERITANCE_MARKER; }### Answer:
@Test public void clearAclEntriesCache_success() { String masterResourceUri = "/f1/f2/Resource"; objectPermissionService.clearAclEntriesCache(masterResourceUri); verify(nonMutableAclCache, times(1)).evictFromCache(eq(new InternalURIDefinition(masterResourceUri))); }