I have a JUnit class with different methods to perform different tests.
I use Mockito to create a spy on real instance, and then ov
Maybe I am not following but when you have a real object real:
real
Object mySpy = spy(real);
Then to "unspy" mySpy... just use real.
mySpy