Mockito: How to make a method return an argument that was passed to it
Posted
by Abhijeet Kashnia
on Stack Overflow
See other posts from Stack Overflow
or by Abhijeet Kashnia
Published on 2010-04-21T16:11:41Z
Indexed on
2010/04/21
16:13 UTC
Read the original article
Hit count: 410
mockito
Consider a method signature like:
public String myFunction(String abc);
Can Mockito help return the same string that the method received?
© Stack Overflow or respective owner