### Question:
IsAdministrableObjectPermissionArgumentVoter extends BasicObjectPermissionArgumentVoter { @Override public boolean supports(ConfigAttribute attribute) { return ATTRIBUTE.equals(attribute.getAttribute()); }  @Override boolean supports(ConfigAttribute attribute);  }### Answer:
@Test public void testSupports() throws Exception { List entries = new ArrayList<AccessControlEntry>(); Acl acl = new JasperServerAclImpl(oid,null); entries.add(new AccessControlEntryImpl(null,acl, sid,JasperServerPermission.ADMINISTRATION,true,false,false)); acl = new JasperServerAclImpl(oid,entries); when(provider.readAclById(any(ObjectIdentity.class),anyListOf(Sid.class))).thenReturn(acl); when(authentication.getPrincipal()).thenReturn(user); assertTrue(voter.isPermitted(authentication, permission, object)); assertTrue(true); }