org.spockframework.mock
Class DefaultMockFactory
java.lang.Object
org.spockframework.mock.DefaultMockFactory
- All Implemented Interfaces:
- IMockFactory
public class DefaultMockFactory
- extends java.lang.Object
- implements IMockFactory
Some implementation details of this class are stolen from Spring, EasyMock
Class Extensions, and this thread:
http://www.nabble.com/Callbacks%2C-classes-and-instances-to4092596.html
- Author:
- Peter Niederwieser
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE_FIELD
public static final java.lang.String INSTANCE_FIELD
- See Also:
- Constant Field Values
INSTANCE
public static final DefaultMockFactory INSTANCE
DefaultMockFactory
public DefaultMockFactory()
create
public java.lang.Object create(java.lang.String mockName,
java.lang.Class<?> mockType,
IInvocationDispatcher dispatcher)
- Specified by:
create
in interface IMockFactory
Copyright © 2013. All rights reserved