public class MockInvocation extends java.lang.Object implements IMockInvocation
Constructor and Description |
---|
MockInvocation(IMockObject mockObject,
java.lang.reflect.Method method,
java.util.List<java.lang.Object> arguments) |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.Object> |
getArguments()
The arguments for the invocation.
|
java.lang.reflect.Method |
getMethod()
The invoked method.
|
IMockObject |
getMockObject()
The mock object that received the invocation.
|
java.lang.String |
toString() |
public MockInvocation(IMockObject mockObject, java.lang.reflect.Method method, java.util.List<java.lang.Object> arguments)
public IMockObject getMockObject()
IMockInvocation
getMockObject
in interface IMockInvocation
public java.lang.reflect.Method getMethod()
IMockInvocation
getMethod
in interface IMockInvocation
public java.util.List<java.lang.Object> getArguments()
IMockInvocation
getArguments
in interface IMockInvocation
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2014. All rights reserved