@@ -0,0 +1,1377 @@
+package com.fasterxml.jackson.failing;%0A%0Aimport java.util.*;%0A%0Aimport com.fasterxml.jackson.annotation.JsonTypeInfo;%0Aimport com.fasterxml.jackson.databind.*;%0A%0A// %5Bdatabind#1391%5D%0Apublic class DefaultTypingOverride1391Test extends BaseMapTest%0A%7B%0A    final static ObjectMapper WITH_OBJECT_AND_NON_CONCRETE = new ObjectMapper().enableDefaultTypingAsProperty(%0A            ObjectMapper.DefaultTyping.OBJECT_AND_NON_CONCRETE, %22$type%22);%0A%0A    final static ObjectMapper PLAIN_OBJECT_MAPPER = new ObjectMapper();%0A%0A    static class MyClass %7B%0A%0A        private final SortedSet%3CString%3E treeSetStrings = new TreeSet%3C%3E();%0A%0A        @JsonTypeInfo(use = JsonTypeInfo.Id.NONE)%0A        public SortedSet%3CString%3E getTreeSetStrings() %7B%0A            return this.treeSetStrings;%0A        %7D%0A    %7D%0A%0A    public void testCollectionTyping() throws Exception %7B%0A%0A        final MyClass toSerialize = new MyClass();%0A%0A        final String fromPlainObjectMapper = PLAIN_OBJECT_MAPPER.writeValueAsString(toSerialize);%0A        System.out.println(%22%5Cnfrom plain ObjectMapper:%5Cn%22 + fromPlainObjectMapper);%0A%0A        final String fromObjectMapperWithDefaultTyping = WITH_OBJECT_AND_NON_CONCRETE.writeValueAsString(toSerialize);%0A        System.out.println(%22%5Cnfrom ObjectMapper with default typing:%5Cn%22 + fromObjectMapperWithDefaultTyping);%0A%0A        assertEquals(fromPlainObjectMapper, fromObjectMapperWithDefaultTyping);%0A    %7D%0A%7D%0A

add a failing test for #1391