public void testOptionalTypeSchema83() throws Exception { VisitorWrapper wrapper = new VisitorWrapper(null, "", new HashSet<String>()); mapperWithModule().acceptJsonFormatVisitor(TopLevel.class, wrapper); Set<String> properties = wrapper.getTraversedProperties(); assertTrue(properties.contains("values.data.value")); }