MockFor
public 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, setProperty
public java.lang.Object invokeMethod(java.lang.String name, java.lang.Object args)
GroovyObject
invokeMethod
in interface GroovyObject
invokeMethod
in class GroovyObjectSupport
name
- 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