File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/test/java/com/amazonaws/encryptionsdk/kms Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 5555 <dependency >
5656 <groupId >org.mockito</groupId >
5757 <artifactId >mockito-core</artifactId >
58- <version >2.28.1 </version >
58+ <version >4.2.0 </version >
5959 <scope >test</scope >
6060 </dependency >
6161
Original file line number Diff line number Diff line change 1717import static org .mockito .Mockito .spy ;
1818import static org .mockito .Mockito .times ;
1919import static org .mockito .Mockito .verify ;
20+ import static org .mockito .Mockito .verifyNoInteractions ;
2021import static org .mockito .Mockito .verifyNoMoreInteractions ;
21- import static org .mockito .Mockito .verifyZeroInteractions ;
2222import static org .mockito .Mockito .when ;
2323
2424import com .amazonaws .AmazonServiceException ;
@@ -402,7 +402,7 @@ public void testDecrypt() throws Exception {
402402 () -> mkp .decryptDataKey (ALGORITHM_SUITE , inputEDKs , ENCRYPTION_CONTEXT ));
403403
404404 ArgumentCaptor <DecryptRequest > decrypt = ArgumentCaptor .forClass (DecryptRequest .class );
405- verifyZeroInteractions (client );
405+ verifyNoInteractions (client );
406406 return ;
407407 }
408408
You can’t perform that action at this time.
0 commit comments