Mockito doNothing with Mockito.mockStatic

You don’t need to stub that call.

doNothing is a default behaviour of a void method called on a mock.

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top