org.mockito.internal.stubbing.answers
Class MethodInfo
java.lang.Object
org.mockito.internal.stubbing.answers.MethodInfo
public class MethodInfo
- extends java.lang.Object
by Szczepan Faber, created at: 3/31/12
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MethodInfo
public MethodInfo(Invocation theInvocation)
isValidException
public boolean isValidException(java.lang.Throwable throwable)
isValidReturnType
public boolean isValidReturnType(java.lang.Class clazz)
isVoid
public boolean isVoid()
printMethodReturnType
public java.lang.String printMethodReturnType()
getMethodName
public java.lang.String getMethodName()
returnsPrimitive
public boolean returnsPrimitive()
getMethod
public java.lang.reflect.Method getMethod()
isDeclaredOnInterface
public boolean isDeclaredOnInterface()