Avoid deprecated Mockito methods
Issue: SPR-14880
This commit is contained in:
@@ -572,7 +572,7 @@ public class DefaultStompSessionTests {
|
||||
receiptable.addReceiptLostTask(() -> notReceived.set(true));
|
||||
|
||||
ArgumentCaptor<Runnable> taskCaptor = ArgumentCaptor.forClass(Runnable.class);
|
||||
verify(taskScheduler).schedule(taskCaptor.capture(), notNull(Date.class));
|
||||
verify(taskScheduler).schedule(taskCaptor.capture(), (Date) notNull());
|
||||
Runnable scheduledTask = taskCaptor.getValue();
|
||||
assertNotNull(scheduledTask);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user