Replacing hand-made spies by Mockito's spy