org.spockframework.mock
Class MockController
java.lang.Object
org.spockframework.mock.MockController
- All Implemented Interfaces:
- IInvocationDispatcher
public class MockController
- extends java.lang.Object
- implements IInvocationDispatcher
- Author:
- Peter Niederwieser
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ADD_INTERACTION
public static final java.lang.String ADD_INTERACTION
- See Also:
- Constant Field Values
ADD_BARRIER
public static final java.lang.String ADD_BARRIER
- See Also:
- Constant Field Values
ENTER_SCOPE
public static final java.lang.String ENTER_SCOPE
- See Also:
- Constant Field Values
LEAVE_SCOPE
public static final java.lang.String LEAVE_SCOPE
- See Also:
- Constant Field Values
MockController
public MockController(IMockFactory factory)
dispatch
public java.lang.Object dispatch(IMockInvocation invocation)
- Specified by:
dispatch
in interface IInvocationDispatcher
addInteraction
public void addInteraction(IMockInteraction interaction)
addBarrier
public void addBarrier()
enterScope
public void enterScope()
leaveScope
public void leaveScope()
create
public java.lang.Object create(java.lang.String mockName,
java.lang.Class<?> mockType)
Copyright © 2013. All rights reserved