See javadoc for {@link Mockito#doAnswer(Answer)}
@param answer to answer when the stubbed method is called
@return stubber - to select a method for stubbing
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.