Assert.assertEquals(phraseSlop, defaultPhraseSlopAttr
.getDefaultPhraseSlop());
Assert.assertEquals(phraseSlop, config.get(ConfigurationKeys.PHRASE_SLOP)
.intValue());
FieldBoostMapAttribute fieldBoostMapAttr = config
.addAttribute(FieldBoostMapAttribute.class);
Assert.assertEquals(new LinkedHashMap<String, Float>(), fieldBoostMapAttr
.getFieldBoostMap());
Assert.assertEquals(new LinkedHashMap<String, Float>(), config
.get(ConfigurationKeys.FIELD_BOOST_MAP));
LinkedHashMap<String, Float> fieldBoostMap = new LinkedHashMap<String, Float>();
fieldBoostMap.put("test", 0.3f);
fieldBoostMapAttr.setFieldBoostMap(fieldBoostMap);
Assert.assertEquals(fieldBoostMap, fieldBoostMapAttr.getFieldBoostMap());
Assert.assertEquals(fieldBoostMap, config
.get(ConfigurationKeys.FIELD_BOOST_MAP));
FieldDateResolutionMapAttribute fieldDateResolutionMapAttr = config
.addAttribute(FieldDateResolutionMapAttribute.class);