| Modifier and Type | Field and Description |
|---|---|
| private final Object[] | |
| private final Collection | |
| private transient Method | |
| private final Object | |
| private static final Object[] | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| private static Object[] | |
| private boolean | |
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. |
| private static Object[] | |
| public Object[] | Returns: the arguments passed to the method invocation.Returns the arguments passed to the method invocation. |
| public Method | Returns: the method invoked on the mock object.Returns the method invoked on the mock object. |
| public Object | Returns: the mock object on which the invocation was performed.Returns the mock object on which the invocation was performed. |
| public String | |
| public int | |
| public static boolean | |
| private boolean | |
| private void | |
| public String | |
| private boolean | |
| public void | |
| private void |
| arguments | back to summary |
|---|---|
| private final Object[] arguments | |
| currentCaptures | back to summary |
|---|---|
| private final Collection<Captures<?>> currentCaptures | |
| method | back to summary |
|---|---|
| private transient Method method | |
| mock | back to summary |
|---|---|
| private final Object mock | |
| NO_ARGS | back to summary |
|---|---|
| private static final Object[] NO_ARGS | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| Invocation | back to summary |
|---|---|
| public Invocation(Object mock, Method method, Object[] args) | |
| addCapture | back to summary |
|---|---|
| public void addCapture(Captures<Object> capture, Object value) | |
| clearCaptures | back to summary |
|---|---|
| public void clearCaptures() | |
| createObjectArray | back to summary |
|---|---|
| private static Object[] createObjectArray(Object array) | |
| equalArguments | back to summary |
|---|---|
| private boolean equalArguments(Object[] arguments) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| expandVarArgs | back to summary |
|---|---|
| private static Object[] expandVarArgs(boolean isVarArgs, Object[] args) | |
| getArguments | back to summary |
|---|---|
| public Object[] getArguments() Returns the arguments passed to the method invocation.
| |
| getMethod | back to summary |
|---|---|
| public Method getMethod() Returns the method invoked on the mock object.
| |
| getMock | back to summary |
|---|---|
| public Object getMock() Returns the mock object on which the invocation was performed.
| |
| getMockAndMethodName | back to summary |
|---|---|
| public String getMockAndMethodName() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| isJavaIdentifier | back to summary |
|---|---|
| public static boolean isJavaIdentifier(String mockName) | |
| isPrimitiveParameter | back to summary |
|---|---|
| private boolean isPrimitiveParameter(int parameterPosition) | |
| readObject | back to summary |
|---|---|
| private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| toStringIsDefined | back to summary |
|---|---|
| private boolean toStringIsDefined(Object o) | |
| validateCaptures | back to summary |
|---|---|
| public void validateCaptures() | |
| writeObject | back to summary |
|---|---|
| private void writeObject(ObjectOutputStream stream) throws IOException | |