@@ -186,24 +186,24 @@ void throwsExceptionOnInvalidStringForPrimitiveTypes() {
186
186
void throwsExceptionWhenImplicitConverstionIsUnsupported () {
187
187
assertThatExceptionOfType (ArgumentConversionException .class ) //
188
188
.isThrownBy (() -> convert ("foo" , Enigma .class )) //
189
- .withMessage ("No built-in converter for source type java.lang.String and target type %s" ,
189
+ .withMessage ("No registered or built-in converter for source type java.lang.String and target type %s" ,
190
190
Enigma .class .getName ());
191
191
192
192
assertThatExceptionOfType (ArgumentConversionException .class ) //
193
193
.isThrownBy (() -> convert (new Enigma (), int [].class )) //
194
- .withMessage ("No built-in converter for source type %s and target type int[]" , Enigma .class .getName ());
194
+ .withMessage ("No registered or built-in converter for source type %s and target type int[]" , Enigma .class .getName ());
195
195
196
196
assertThatExceptionOfType (ArgumentConversionException .class ) //
197
197
.isThrownBy (() -> convert (new long [] {}, int [].class )) //
198
- .withMessage ("No built-in converter for source type long[] and target type int[]" );
198
+ .withMessage ("No registered or built-in converter for source type long[] and target type int[]" );
199
199
200
200
assertThatExceptionOfType (ArgumentConversionException .class ) //
201
201
.isThrownBy (() -> convert (new String [] {}, boolean .class )) //
202
- .withMessage ("No built-in converter for source type java.lang.String[] and target type boolean" );
202
+ .withMessage ("No registered or built-in converter for source type java.lang.String[] and target type boolean" );
203
203
204
204
assertThatExceptionOfType (ArgumentConversionException .class ) //
205
205
.isThrownBy (() -> convert (Class .class , int [].class )) //
206
- .withMessage ("No built-in converter for source type java.lang.Class and target type int[]" );
206
+ .withMessage ("No registered or built-in converter for source type java.lang.Class and target type int[]" );
207
207
}
208
208
209
209
/**
0 commit comments