org.jmock.core
Class Invocation
java.lang.Object
   org.jmock.core.Invocation
org.jmock.core.Invocation
- All Implemented Interfaces: 
- SelfDescribing
- public class Invocation 
- extends Object- implements SelfDescribing
The static details about a method and the run-time details of its invocation.
- Since:
- 1.0
 
 
 
 
invokedObject
public final Object invokedObject
invokedMethod
public final Method invokedMethod
parameterValues
public final List parameterValues
Invocation
public Invocation(Object invoked,
                  Method method,
                  Object[] parameterValues)
toString
public String toString()
- 
- Overrides:
- toStringin class- Object
 
- 
 
equals
public boolean equals(Object other)
- 
- Overrides:
- equalsin class- Object
 
- 
 
equals
public boolean equals(Invocation other)
- 
 
- 
 
hashCode
public int hashCode()
- 
- Overrides:
- hashCodein class- Object
 
- 
 
describeTo
public StringBuffer describeTo(StringBuffer buffer)
- Description copied from interface: SelfDescribing
- Appends the description of this object to the buffer.
 
- 
- Specified by:
- describeToin interface- SelfDescribing
 
- 
- Parameters:
- buffer- The buffer that the description is appended to.
- Returns:
- The buffer passed to the invokedMethod.
 
checkReturnTypeCompatibility
public void checkReturnTypeCompatibility(Object result)
- 
 
-