How can i just set something in a object without return some value in mockito tests
Answers
Answered by
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