Assert.assertEquals(DefaultOperatorAttribute.Operator.OR, defaultOpAttr
.getOperator());
Assert.assertEquals(Operator.OR, config
.get(ConfigurationKeys.DEFAULT_OPERATOR));
DefaultOperatorAttribute.Operator oldOperator = DefaultOperatorAttribute.Operator.AND;
Operator newOperator = Operator.AND;
defaultOpAttr.setOperator(oldOperator);
Assert.assertEquals(oldOperator, defaultOpAttr.getOperator());
Assert.assertEquals(newOperator, config
.get(ConfigurationKeys.DEFAULT_OPERATOR));