MockForpublic class GroovyMock extends GroovyObjectSupport implements com.mockobjects.Verifiable
| Constructor and Description |
|---|
GroovyMock()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
GroovyObject |
getInstance()
Deprecated.
|
java.lang.Object |
invokeMethod(java.lang.String name,
java.lang.Object args)
Deprecated.
Invokes the given method.
|
static GroovyMock |
newInstance()
Deprecated.
|
void |
verify()
Deprecated.
|
getMetaClass, getProperty, setMetaClass, setPropertypublic java.lang.Object invokeMethod(java.lang.String name,
java.lang.Object args)
GroovyObjectinvokeMethod in interface GroovyObjectinvokeMethod in class GroovyObjectSupportname - the name of the method to callargs - the arguments to use for the method callpublic GroovyObject getInstance()
public static GroovyMock newInstance()
public void verify()
verify in interface com.mockobjects.Verifiable