### Question:
AclEntryImpl implements AclEntry, Serializable { public synchronized boolean removePermission( final Permission permission ) { final Permission p = findPermission( permission ); if( p != null ) { m_permissions.remove( p ); return true; } return false; } AclEntryImpl(); synchronized boolean addPermission( final Permission permission ); boolean checkPermission( final Permission permission ); synchronized Principal getPrincipal(); Enumeration< Permission > permissions(); synchronized boolean removePermission( final Permission permission ); synchronized boolean setPrincipal( final Principal user ); String toString();  }### Answer:
@Test public void testRemovePermission() { m_ae.addPermission( PagePermission.VIEW ); m_ae.addPermission( PagePermission.EDIT ); Assertions.assertTrue( m_ae.checkPermission( PagePermission.EDIT ), "has edit permission" ); Assertions.assertTrue( m_ae.checkPermission( PagePermission.VIEW ), "has view permission" ); m_ae.removePermission( PagePermission.EDIT ); Assertions.assertFalse( m_ae.checkPermission( PagePermission.EDIT ), "no edit permission" ); Assertions.assertTrue( m_ae.checkPermission( PagePermission.VIEW ), "has view permission" ); }