org.spockframework.mock
Class MockObject
java.lang.Object
org.spockframework.mock.MockObject
- All Implemented Interfaces:
- IMockObject
public class MockObject
- extends Object
- implements IMockObject
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockObject
public MockObject(String name,
Class<?> type,
Object instance)
getName
public String getName()
- Specified by:
getName
in interface IMockObject
getType
public Class<?> getType()
- Specified by:
getType
in interface IMockObject
getInstance
public Object getInstance()
- Specified by:
getInstance
in interface IMockObject
Copyright © 2010. All Rights Reserved.