{
public void testEqualsAndHashCode()
{
AclRulePredicates predicates = createAclRulePredicates();
ObjectType objectType = ObjectType.EXCHANGE;
Operation operation = Operation.ACCESS;
AclAction aclAction = new AclAction(operation, objectType, predicates);
AclAction equalAclAction = new AclAction(operation, objectType, predicates);
assertTrue(aclAction.equals(aclAction));