@@ -0,0 +1,1534 @@
+package com.fasterxml.jackson.failing;%0A%0Aimport com.fasterxml.jackson.annotation.*;%0A%0Aimport com.fasterxml.jackson.databind.*;%0A%0A// Test for %5Bdatabind#1328%5D; does not actually reproduce the issue at this point.%0Apublic class EnumAsExternalPropertyId1328Test extends BaseMapTest%0A%7B%0A    static class Bean1328 %7B%0A        public Type1328 type;%0A%0A        @JsonTypeInfo(property = %22type%22, include = JsonTypeInfo.As.EXTERNAL_PROPERTY, use = JsonTypeInfo.Id.NAME,%0A                visible=true)%0A        @JsonSubTypes(%7B%0A                  @JsonSubTypes.Type(value = A.class,name = %22A%22),%0A                  @JsonSubTypes.Type(value = B.class,name = %22B%22)%0A        %7D)%0A        public Interface1328 obj;%0A    %7D%0A%0A    static interface Interface1328 %7B %7D%0A%0A    enum Type1328 %7B%0A        A, B;%0A    %7D%0A%0A   static class A implements Interface1328 %7B%0A       public int a;%0A   %7D%0A%0A   static class B implements Interface1328 %7B%0A       public int b;%0A   %7D%0A%0A   /*%0A    /**********************************************************%0A    /* Test methods%0A    /**********************************************************%0A     */%0A%0A    private final ObjectMapper MAPPER = new ObjectMapper();%0A%0A    public void testExternalTypeIdAsEnum() throws Exception%0A    %7B%0A        final String JSON = aposToQuotes(%22%7B 'type':'A', 'obj': %7B 'a' : 4 %7D %7D'%22);%0A        Bean1328 result = MAPPER.readValue(JSON, Bean1328.class);%0A        assertNotNull(result.obj);%0A        assertSame(A.class, result.obj.getClass());%0A        assertEquals(4, ((A) result.obj).a);%0A%0A        assertSame(Type1328.A, result.type);%0A    %7D%0A%7D%0A

Add test for #1328 (not failing, alas)