featureInfo.setIdentifier(new PrimitiveAttributeInfo("id", "id", PrimitiveType.LONG));
featureInfo.setAttributes(Collections.singletonList((AttributeInfo) textAttr));
many.setFeature(featureInfo);
Attribute<?> attr = converter.toDto(new Bean[] { new Bean("t1",1L), new Bean("t2",2L) }, many);
Assert.assertTrue(attr instanceof AssociationAttribute);
AssociationAttribute assoc = (AssociationAttribute)attr;
List<AssociationValue> value = (List<AssociationValue>)assoc.getValue();
value.get(0).getAttributes();
}