What is verify in Junit?

What is verify in Junit?

Verify in Mockito would mean checking if a particular mocj object method has been invoked and called for a specific time. When you want to verify that the method has been called only for one time, we leverage verify(mockObject).