IMockMethodpublic class DynamicMockMethod extends java.lang.Object implements IMockMethod
| Constructor | Description |
|---|---|
DynamicMockMethod(java.lang.String methodName,
int argumentCount,
boolean isStatic) |
|
DynamicMockMethod(java.lang.String methodName,
java.util.List<java.lang.Class<?>> parameterTypes,
java.lang.Class<?> returnType,
boolean isStatic) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getName() |
Returns the name of the method.
|
java.util.List<java.lang.Class<?>> |
getParameterTypes() |
Returns the parameter types of the method.
|
java.lang.Class<?> |
getReturnType() |
Returns the return type of the method.
|
boolean |
isStatic() |
Tells whether the method is static or an instance method.
|
public DynamicMockMethod(java.lang.String methodName,
int argumentCount,
boolean isStatic)
public DynamicMockMethod(java.lang.String methodName,
java.util.List<java.lang.Class<?>> parameterTypes,
java.lang.Class<?> returnType,
boolean isStatic)
public java.lang.String getName()
IMockMethodgetName in interface IMockMethodpublic java.util.List<java.lang.Class<?>> getParameterTypes()
IMockMethodObject.getParameterTypes in interface IMockMethodpublic java.lang.Class<?> getReturnType()
IMockMethodObject.getReturnType in interface IMockMethodpublic boolean isStatic()
IMockMethodisStatic in interface IMockMethodCopyright © 2018. All rights reserved