@@ -0,0 +1,2195 @@
+package com.fasterxml.jackson.dataformat.xml.failing;%0A%0Aimport java.util.Arrays;%0Aimport java.util.List;%0A%0Aimport com.fasterxml.jackson.annotation.JsonCreator;%0Aimport com.fasterxml.jackson.annotation.JsonProperty;%0Aimport com.fasterxml.jackson.databind.ObjectMapper;%0Aimport com.fasterxml.jackson.dataformat.xml.XmlTestBase;%0Aimport com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;%0Aimport com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;%0Aimport com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;%0A%0A// 13-Nov-2020, tatu: Not quite sure how to configure test to pass;%0A//   seems like it should work but does not. Leaving for future generations%0A//   to figure out...%0Apublic class ElementWrapperViaCreator149Test extends XmlTestBase%0A%7B%0A    @JacksonXmlRootElement(localName=%22body%22)%0A    static class Body149 %7B%0A        final String type;%0A%0A        @JacksonXmlProperty(localName=%22label%22)%0A        final List%3CString%3E labels;%0A%0A        @JsonCreator(mode = JsonCreator.Mode.PROPERTIES)%0A        public Body149(@JacksonXmlProperty(localName=%22type%22)%0A                    String type,%0A                    @JacksonXmlElementWrapper(localName=%22labels%22)%0A                    @JacksonXmlProperty(localName=%22label%22)%0A                    List%3CString%3E labels)%0A        %7B%0A            this.type = type;%0A            this.labels = labels;%0A        %7D%0A    %7D    %0A%0A    /*%0A    /**********************************************************************%0A    /* Test methods%0A    /**********************************************************************%0A     */%0A%0A    private final ObjectMapper MAPPER = newMapper();%0A%0A    // %5Bdataformat-xml#149%5D%0A    public void testElementWrapper149() throws Exception%0A    %7B%0A        final String XML = %22%3Cbody%3E%5Cn%22 +%0A                %22  %3Ctype%3ETYPE%3C/type%3E%5Cn%22 +%0A                %22  %3Clabels%3E%3Clabel%3Efoo%3C/label%3E%3Clabel%3Ebar%3C/label%3E%3C/labels%3E%5Cn%22 +%0A                %22%3C/body%3E%22;%0A        Body149 result = MAPPER.readValue(XML, Body149.class);%0A        assertEquals(%22TYPE%22, result.type);%0A        assertNotNull(result.labels);%0A        assertEquals(Arrays.asList(%22foo%22, %22bar%22), result.labels);%0A%0A//System.err.println(%22XML: %22+MAPPER.writeValueAsString(result));        %0A    %7D%0A%7D%0A

Add failing test for #149