public class Invocation extends Object implements org.hamcrest.SelfDescribing
Modifier and Type | Field and Description |
---|---|
static Object[] |
NO_PARAMETERS |
Constructor and Description |
---|
Invocation(Object invoked,
Method method,
Object... parameterValues) |
Modifier and Type | Method and Description |
---|---|
Object |
applyTo(Object target) |
void |
checkReturnTypeCompatibility(Object value) |
void |
describeTo(org.hamcrest.Description description) |
boolean |
equals(Invocation other) |
boolean |
equals(Object other) |
Method |
getInvokedMethod() |
Object |
getInvokedObject() |
Object |
getParameter(int i) |
int |
getParameterCount() |
Object[] |
getParametersAsArray() |
int |
hashCode() |
String |
toString() |
public static final Object[] NO_PARAMETERS
public boolean equals(Invocation other)
public void describeTo(org.hamcrest.Description description)
describeTo
in interface org.hamcrest.SelfDescribing
public Object getInvokedObject()
public Method getInvokedMethod()
public int getParameterCount()
public Object getParameter(int i)
public Object[] getParametersAsArray()
public void checkReturnTypeCompatibility(Object value)
Copyright © 2003–2018 jMock. All rights reserved.