Prev Next

Testing / Mockito Interview Questions

What is the use of Mockito.any?

Mockito allows us to create mock objects and stub the behavior for our test cases. We usually mock the behavior using when() and thenReturn() on the mock object.

More Related questions...

Show more question and Answers...


Comments & Discussions