Hi
I need to discuss about spy objects in
Mockito. As I red Its provide the partial mocking. And If we want to invoke the actual method implementation we use spy. But If we using mocking then what is the need to invoke method actually, we can define the behavior using when..thenReturn. Also if there could be short demo example please provide.
Thanks