@@ -82,7 +82,7 @@ void shouldCatchConversionErrors() {
82
82
83
83
assertThatExceptionOfType (TypeMismatchDataAccessException .class )
84
84
.isThrownBy (() -> defaultNeo4jEntityAccessor .readValue (value , TypeInformation .of (Date .class ), null ))
85
- .withMessageStartingWith ("Could not convert \" Das funktioniert nicht.\" into java.util.Date; " )
85
+ .withMessageStartingWith ("Could not convert \" Das funktioniert nicht.\" into java.util.Date" )
86
86
.withCauseInstanceOf (ConversionFailedException .class ).withRootCauseInstanceOf (DateTimeParseException .class );
87
87
}
88
88
@@ -93,7 +93,7 @@ void shouldCatchUncoercibleErrors() {
93
93
assertThatExceptionOfType (TypeMismatchDataAccessException .class )
94
94
.isThrownBy (
95
95
() -> defaultNeo4jEntityAccessor .readValue (value , TypeInformation .of (LocalDate .class ), null ))
96
- .withMessageStartingWith ("Could not convert \" Das funktioniert nicht.\" into java.time.LocalDate; " )
96
+ .withMessageStartingWith ("Could not convert \" Das funktioniert nicht.\" into java.time.LocalDate" )
97
97
.withCauseInstanceOf (ConversionFailedException .class ).withRootCauseInstanceOf (Uncoercible .class );
98
98
}
99
99
@@ -104,7 +104,7 @@ void shouldCatchCoercibleErrors() {
104
104
assertThatExceptionOfType (TypeMismatchDataAccessException .class ).isThrownBy (
105
105
() -> defaultNeo4jEntityAccessor .readValue (value , TypeInformation .of (ReactiveNeo4jClient .class ), null ))
106
106
.withMessageStartingWith (
107
- "Could not convert \" Das funktioniert nicht.\" into org.springframework.data.neo4j.core.ReactiveNeo4jClient; " )
107
+ "Could not convert \" Das funktioniert nicht.\" into org.springframework.data.neo4j.core.ReactiveNeo4jClient" )
108
108
.withRootCauseInstanceOf (ConverterNotFoundException .class );
109
109
}
110
110
}
0 commit comments