@@ -0,0 +1,906 @@
+package com.fasterxml.jackson.failing;%0A%0Aimport com.fasterxml.jackson.annotation.JsonUnwrapped;%0Aimport com.fasterxml.jackson.databind.*;%0A%0Apublic class TestUnwrappedWithSameName647 extends BaseMapTest%0A%7B%0A    static class UnwrappedWithSamePropertyName %7B%0A        public MailHolder mail;%0A    %7D%0A%0A    static class MailHolder %7B%0A        @JsonUnwrapped%0A        public Mail mail;%0A    %7D%0A    %0A    static class Mail %7B%0A        public String mail;%0A    %7D%0A%0A    private final ObjectMapper MAPPER = new ObjectMapper();%0A%0A    public void testUnwrappedWithSamePropertyName() throws Exception %7B%0A        final String JSON = %22%7B'mail': %7B'mail': 'the mail text'%7D%7D%22;%0A        UnwrappedWithSamePropertyName result = MAPPER.readValue(aposToQuotes(JSON), UnwrappedWithSamePropertyName.class);%0A        assertNotNull(result.mail);%0A        assertNotNull(result.mail.mail);%0A        assertEquals(%22the mail text%22, result.mail.mail.mail);%0A    %7D%0A%7D%0A

Add test to verify #647