Assert.assertEquals(minSim, config.get(ConfigurationKeys.FUZZY_CONFIG)
.getMinSimilarity());
Assert.assertEquals(prefixLength, config
.get(ConfigurationKeys.FUZZY_CONFIG).getPrefixLength());
DefaultOperatorAttribute defaultOpAttr = config
.addAttribute(DefaultOperatorAttribute.class);
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));
}