@@ -147,6 +147,7 @@ void testConfig() throws IOException {
147147 Assertions .assertEquals (3 , settings .listOfString2ObjectMap .size ());
148148 Assertions .assertEquals (3 , settings .chaosMapList .size ());
149149 Assertions .assertEquals (2 , settings .chaosMap .size ());
150+ Assertions .assertEquals (1 , settings .listSerializableMap .size ());
150151 Assertions .assertEquals (HashMap .class , settings .int2StringMap .getClass ());
151152 Assertions .assertEquals (Int2ObjectLinkedOpenHashMap .class , settings .int2StringMapFastUtil .getClass ());
152153 Assertions .assertEquals (Int2ObjectLinkedOpenHashMap .class , settings .int2StringMapFastUtil2 .getClass ());
@@ -383,6 +384,8 @@ public String deserialize(String from) {
383384 "test-2" , SerializerTest .map ("test-2-1" , Arrays .asList ("element" ))
384385 );
385386
387+ public List <CustomSection > listSerializableMap = Arrays .asList (new CustomSection ());
388+
386389 @ Comment ({
387390 @ CommentValue ("PREPEND comment Line 1" ),
388391 @ CommentValue ("PREPEND comment Line 2" )
@@ -572,6 +575,15 @@ public ExternalNestedClass(String name) {
572575 }
573576 }
574577
578+ public static class CustomSection {
579+
580+ public Map <String , String > stringStringMap = new LinkedHashMap <>();
581+
582+ public CustomSection () {
583+ this .stringStringMap .put ("key1" , "value1" );
584+ }
585+ }
586+
575587 public static class ExternalClassSerializer extends ClassSerializer <ExternalDeserializedClass , Map <String , Object >> {
576588
577589 @ SuppressWarnings ("unchecked" )
0 commit comments