org.spockframework.mock
Class MockInvocation
java.lang.Object
org.spockframework.mock.MockInvocation
- All Implemented Interfaces:
- IMockInvocation
public class MockInvocation
- extends java.lang.Object
- implements IMockInvocation
- Author:
- Peter Niederwieser
Constructor Summary |
MockInvocation(IMockObject mockObject,
java.lang.reflect.Method method,
java.util.List<java.lang.Object> arguments)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MockInvocation
public MockInvocation(IMockObject mockObject,
java.lang.reflect.Method method,
java.util.List<java.lang.Object> arguments)
getMockObject
public IMockObject getMockObject()
- Description copied from interface:
IMockInvocation
- The mock object that received the invocation.
- Specified by:
getMockObject
in interface IMockInvocation
getMethod
public java.lang.reflect.Method getMethod()
- Description copied from interface:
IMockInvocation
- The invoked method.
- Specified by:
getMethod
in interface IMockInvocation
getArguments
public java.util.List<java.lang.Object> getArguments()
- Description copied from interface:
IMockInvocation
- The arguments for the invocation.
- Specified by:
getArguments
in interface IMockInvocation
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2013. All rights reserved