Class InvocationInfo
java.lang.Object
org.mockito.internal.stubbing.answers.InvocationInfo
- All Implemented Interfaces:
AbstractAwareMethod
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanisValidException(Throwable throwable) booleanisValidReturnType(Class<?> clazz) booleanisVoid()boolean
-
Constructor Details
-
InvocationInfo
-
-
Method Details
-
isValidException
-
isValidReturnType
-
isVoid
public boolean isVoid()Returnstrueis the return type isVoidor represents the pseudo-type to the keywordvoid. E.g:void foo()orVoid bar() -
printMethodReturnType
-
getMethodName
-
returnsPrimitive
public boolean returnsPrimitive() -
getMethod
-
isDeclaredOnInterface
public boolean isDeclaredOnInterface() -
isAbstract
public boolean isAbstract()- Specified by:
isAbstractin interfaceAbstractAwareMethod
-