Package org.easymock.internal
Class ExpectedInvocation
java.lang.Object
org.easymock.internal.ExpectedInvocation
- All Implemented Interfaces:
Serializable
One expected invocation. It is composed of the method invoked and the matchers used to expect the arguments.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Invocationprivate final List<IArgumentMatcher>private static final long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate List<IArgumentMatcher>createMissingMatchers(Invocation invocation, List<IArgumentMatcher> matchers) booleaninthashCode()private booleanbooleanmatches(Invocation actual) Tells if the actual invocation matches this expected invocation.toString()
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
invocation
-
matchers
-
-
Constructor Details
-
ExpectedInvocation
-
-
Method Details
-
createMissingMatchers
private List<IArgumentMatcher> createMissingMatchers(Invocation invocation, List<IArgumentMatcher> matchers) -
equals
-
hashCode
public int hashCode() -
matches
Tells if the actual invocation matches this expected invocation. It needs to be on the same mock, method and have the same arguments.- Parameters:
actual- the actual invocation to match with the expected one- Returns:
- the invocation to compare
-
matches
-
toString
-
getMethod
-