Computer Science, asked by Jayanthshetty9778, 1 year ago

How can i just set something in a object without return some value in mockito tests

Answers

Answered by yashgandhi74
1

Answer:

To directly answer your question, yes, you can mock some methods without mocking others. This is called a partial mock. See the Mockito documentation on partial mocks for more information.

Similar questions