public void testOutElementsMapLocalNsToLocalWildcard() throws Exception {
JAXBElementProvider<TagVO2Holder> provider = new JAXBElementProvider<TagVO2Holder>();
Map<String, String> map = new HashMap<String, String>();
map.put("{http://tags}*", "*");
provider.setOutTransformElements(map);
TagVO2 tag = new TagVO2("A", "B");
TagVO2Holder holder = new TagVO2Holder();
holder.setTag(tag);
ByteArrayOutputStream bos = new ByteArrayOutputStream();
provider.writeTo(holder, TagVO2Holder.class, TagVO2Holder.class,
new Annotation[0], MediaType.TEXT_XML_TYPE, new MetadataMap<String, Object>(), bos);