fieldBoostMapAttr.setFieldBoostMap(fieldBoostMap);
Assert.assertEquals(fieldBoostMap, fieldBoostMapAttr.getFieldBoostMap());
Assert.assertEquals(fieldBoostMap, config
.get(ConfigurationKeys.FIELD_BOOST_MAP));
FieldDateResolutionMapAttribute fieldDateResolutionMapAttr = config
.addAttribute(FieldDateResolutionMapAttribute.class);
Assert.assertEquals(new HashMap<CharSequence, DateTools.Resolution>(),
fieldDateResolutionMapAttr.getFieldDateResolutionMap());
Assert.assertEquals(new HashMap<CharSequence, DateTools.Resolution>(),
config.get(ConfigurationKeys.FIELD_DATE_RESOLUTION_MAP));
HashMap<CharSequence, DateTools.Resolution> fieldDateResMap = new HashMap<CharSequence, DateTools.Resolution>();
fieldDateResMap.put("test", DateTools.Resolution.HOUR);
fieldDateResolutionMapAttr.setFieldDateResolutionMap(fieldDateResMap);
Assert.assertEquals(fieldDateResMap, fieldDateResolutionMapAttr.getFieldDateResolutionMap());
Assert.assertEquals(fieldDateResMap, config
.get(ConfigurationKeys.FIELD_DATE_RESOLUTION_MAP));
LocaleAttribute localeAttr = config.addAttribute(LocaleAttribute.class);