Saved Bookmarks
| 1. |
What Is The Use Of Mockito.any? |
|
Answer» In case we need to VERIFY that a METHOD is being called with any ARGUMENT and not a specific argument we can use Mockito.any(Class), Mockito.anyString, Mockito.anyLong etc. In case we need to verify that a method is being called with any argument and not a specific argument we can use Mockito.any(Class), Mockito.anyString, Mockito.anyLong etc. |
|