@Test
public void apacheCollectionsIntegration() {

    Transformer tm = TagMapper.getMapper(Field.Name);
    @SuppressWarnings("unchecked")
    Collection<String> names = CollectionUtils.collect(tags, tm);
    List<String> expected = Arrays.asList(
            "tagName_0",
            "tagName_1",
            "tagName_2",
            "tagName_3",
            "tagName_4",
            "tagName_5",
            "tagName_6",
            "tagName_7",
            "tagName_8",
            "tagName_9"
    );
    assertEquals(expected, names);
}