@Test
public void simpleTest() {
Set<List<String>> attributesToCombine = Sets.newHashSet();
attributesToCombine.add(Lists.newArrayList("k1", "k2"));
AttributeCombiningEnricher attributeCombiningEnricher = new AttributeCombiningEnricher(attributesToCombine);
AttributesMap attributes = AttributesMap.newHashMap();
attributes.put("k1", "a");
attributes.put("k2", "b");
final AttributesMap enhancedAttributes = attributeCombiningEnricher.apply(attributes);
Assert.assertEquals(enhancedAttributes.size(), 3);
Assert.assertEquals(enhancedAttributes.get("k1-k2"), "ab");
}