public class GroovyMock extends GroovyObjectSupport implements com.mockobjects.Verifiable
Constructor and Description |
---|
GroovyMock() |
Modifier and Type | Method and Description |
---|---|
GroovyObject |
getInstance() |
java.lang.Object |
invokeMethod(java.lang.String name,
java.lang.Object args)
Invokes the given method
|
static GroovyMock |
newInstance() |
void |
verify() |
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
public GroovyObject getInstance()
public static GroovyMock newInstance()
public void verify()
verify
in interface com.mockobjects.Verifiable