@@ -260,28 +260,28 @@ void testIsLikeNull() {
260
260
261
261
@ Test
262
262
void testIsLikeCaseInsensitive () {
263
- IsLikeCaseInsensitive cond = SqlBuilder .isLikeCaseInsensitive (() -> "%f%" );
263
+ IsLikeCaseInsensitive < String > cond = SqlBuilder .isLikeCaseInsensitive (() -> "%f%" );
264
264
assertThat (cond .value ()).isEqualTo ("%F%" );
265
265
assertThat (cond .isEmpty ()).isFalse ();
266
266
}
267
267
268
268
@ Test
269
269
void testIsLikeCaseInsensitiveNull () {
270
- IsLikeCaseInsensitive cond = SqlBuilder .isLikeCaseInsensitive (() -> null );
270
+ IsLikeCaseInsensitive < String > cond = SqlBuilder .isLikeCaseInsensitive (() -> null );
271
271
assertThat (cond .value ()).isNull ();
272
272
assertThat (cond .isEmpty ()).isFalse ();
273
273
}
274
274
275
275
@ Test
276
276
void testIsLikeCaseInsensitiveWhenPresent () {
277
- IsLikeCaseInsensitive cond = SqlBuilder .isLikeCaseInsensitiveWhenPresent (() -> "%f%" );
277
+ IsLikeCaseInsensitive < String > cond = SqlBuilder .isLikeCaseInsensitiveWhenPresent (() -> "%f%" );
278
278
assertThat (cond .value ()).isEqualTo ("%F%" );
279
279
assertThat (cond .isEmpty ()).isFalse ();
280
280
}
281
281
282
282
@ Test
283
283
void testIsLikeCaseInsensitiveWhenPresentNull () {
284
- IsLikeCaseInsensitive cond = SqlBuilder .isLikeCaseInsensitiveWhenPresent (() -> null );
284
+ IsLikeCaseInsensitive < String > cond = SqlBuilder .isLikeCaseInsensitiveWhenPresent (() -> null );
285
285
assertThatExceptionOfType (NoSuchElementException .class ).isThrownBy (cond ::value );
286
286
assertThat (cond .isEmpty ()).isTrue ();
287
287
}
@@ -330,28 +330,28 @@ void testIsNotLikeWhenPresentNull() {
330
330
331
331
@ Test
332
332
void testIsNotLikeCaseInsensitive () {
333
- IsNotLikeCaseInsensitive cond = SqlBuilder .isNotLikeCaseInsensitive (() -> "%f%" );
333
+ IsNotLikeCaseInsensitive < String > cond = SqlBuilder .isNotLikeCaseInsensitive (() -> "%f%" );
334
334
assertThat (cond .value ()).isEqualTo ("%F%" );
335
335
assertThat (cond .isEmpty ()).isFalse ();
336
336
}
337
337
338
338
@ Test
339
339
void testIsNotLikeCaseInsensitiveNull () {
340
- IsNotLikeCaseInsensitive cond = SqlBuilder .isNotLikeCaseInsensitive (() -> null );
340
+ IsNotLikeCaseInsensitive < String > cond = SqlBuilder .isNotLikeCaseInsensitive (() -> null );
341
341
assertThat (cond .value ()).isNull ();
342
342
assertThat (cond .isEmpty ()).isFalse ();
343
343
}
344
344
345
345
@ Test
346
346
void testIsNotLikeCaseInsensitiveWhenPresent () {
347
- IsNotLikeCaseInsensitive cond = SqlBuilder .isNotLikeCaseInsensitiveWhenPresent (() -> "%f%" );
347
+ IsNotLikeCaseInsensitive < String > cond = SqlBuilder .isNotLikeCaseInsensitiveWhenPresent (() -> "%f%" );
348
348
assertThat (cond .value ()).isEqualTo ("%F%" );
349
349
assertThat (cond .isEmpty ()).isFalse ();
350
350
}
351
351
352
352
@ Test
353
353
void testIsNotLikeCaseInsensitiveWhenPresentNull () {
354
- IsNotLikeCaseInsensitive cond = SqlBuilder .isNotLikeCaseInsensitiveWhenPresent (() -> null );
354
+ IsNotLikeCaseInsensitive < String > cond = SqlBuilder .isNotLikeCaseInsensitiveWhenPresent (() -> null );
355
355
assertThatExceptionOfType (NoSuchElementException .class ).isThrownBy (cond ::value );
356
356
assertThat (cond .isEmpty ()).isTrue ();
357
357
}
0 commit comments