org.jmock.dynamic
Class Invocation
java.lang.Object
org.jmock.dynamic.Invocation
- public class Invocation
- extends java.lang.Object
An object that holds information about a call dispatched to
a Mock object for err... mocking.
TODO Simplify this (smgf)
Constructor Summary |
Invocation(java.lang.reflect.Method method,
java.lang.Object[] parameterValues)
|
Invocation(java.lang.String name,
java.lang.Class[] parameterTypes,
java.lang.Class returnType,
java.lang.Object[] parameterValues)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Invocation
public Invocation(java.lang.String name,
java.lang.Class[] parameterTypes,
java.lang.Class returnType,
java.lang.Object[] parameterValues)
Invocation
public Invocation(java.lang.reflect.Method method,
java.lang.Object[] parameterValues)
getMethodName
public java.lang.String getMethodName()
getParameterTypes
public java.util.List getParameterTypes()
getParameterValues
public java.util.List getParameterValues()
getReturnType
public java.lang.Class getReturnType()
toString
public java.lang.String toString()
equals
public boolean equals(java.lang.Object o)
hashCode
public int hashCode()
equals
public boolean equals(Invocation call)
Copyright © 2003 jMock.org. All Rights Reserved.