@@ -251,32 +251,25 @@ public Object convert(Object source, TypeDescriptor sourceType, TypeDescriptor t
251251 }
252252
253253 SimpleTypeHolder storeTypeHolder = Neo4jConversions .STORE_CONVERSIONS .getStoreTypeHolder ();
254- System .out .println (ReflectionTestUtils .getField (storeTypeHolder , "simpleTypes" ));
254+ Map simpleTypes = (Map ) ReflectionTestUtils .getField (storeTypeHolder , "simpleTypes" );
255+
256+ simpleTypes .forEach ((key , value ) -> {
257+ System .out .println (key + " -> " + value );
258+ });
255259
256260 System .out .println ("isStoreSimpleType(StringValue.class): "
257261 + Neo4jConversions .STORE_CONVERSIONS .isStoreSimpleType (StringValue .class ));
258262
259263 System .out .println (
260264 "isStoreSimpleType(Value.class): " + Neo4jConversions .STORE_CONVERSIONS .isStoreSimpleType (Value .class ));
261265
262- System .out .println (ReflectionTestUtils .getField (storeTypeHolder , "simpleTypes" ));
263-
264266 Neo4jConversions conversions = new Neo4jConversions (Collections .singleton (new ConvertibleTypeConverter ())) {
265267 };
266268 Neo4jMappingContext schema = new Neo4jMappingContext (conversions );
267269 Neo4jPersistentEntity <?> entity = schema .getPersistentEntity (EntityWithConvertibleProperty .class );
268270
269271 Neo4jPersistentProperty property = entity .getPersistentProperty ("convertibleType" );
270272 boolean result = property .isRelationship ();
271- System .out .println ("Has CustomWrite: " + conversions .hasCustomWriteTarget (ConvertibleType .class ));
272- System .out .println ("Has CustomWrite: " + conversions .hasCustomWriteTarget (property .getActualType ()));
273-
274- Collection <Object > pairs = (Collection <Object >) ReflectionTestUtils .getField (conversions , "writingPairs" );
275- for (Object pair : pairs ) {
276- System .out .println (pair );
277- }
278-
279- System .out .println ("Is SimpleType: " + conversions .isSimpleType (ConvertibleType .class ));
280273
281274 Assertions .assertThat (result ).isFalse ();
282275 }
0 commit comments